L
L
lavezzi12016-10-26 13:18:44
JavaScript
lavezzi1, 2016-10-26 13:18:44

How to add vendor to webpack?

There is a config https://gist.github.com/lavezzi1/f026edef2cd819fb8...
You need to write something like this in the entry:

module.exports = {
    entry: {
        vendor: ['vue']
    },

How to mix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Damir Rysaev, 2016-10-26
@freepad

because entry points are searched for using glob then the line below should solve your problems
You can find more details in the documentation.
https://www.npmjs.com/package/glob

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question