Open titouancreach opened 6 years ago
Using webpack to build with telling it that the 'Vue' is a globel variable. Without import vue then you can get the bundle you want.
Good one! External or global is better with webpack ? I currently use microbundle because I like configuration free bundler
https://github.com/jackmellis/vue-hoc/blob/master/src/createHOC.js Vue-hoc include Vue as peer dependencies https://github.com/jackmellis/vue-hoc/issues/20
In the bundle it should only have my code and vue-hoc. It seems that Vue lands in the bundle