Hi,
I would like to move my lodash scripts to vendor when im using them.
When i define it into my vendor section of config file it loads whole lodash to it.
vendor: [
'lodash'
]
My build part is like this.
build: {
babel: {
plugins: ['lodash'],
presets: ['vue-app']
},
plugins: [
new LodashModuleReplacementPlugin()
]
}
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2472">#c2472</a>)</em></sub></div>