Answer the question
In order to leave comments, you need to log in
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']
},
Answer the question
In order to leave comments, you need to log in
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 questionAsk a Question
731 491 924 answers to any question