Static GitHub Issues

[352] Extract the manifest file to make vendor.js be cached longer

prev: How to set enviroment while running nuxt?
next: porting nuxt starter template code express code

As described in this documentation: https://webpack.js.org/guides/code-splitting-libraries/. In the current version of nuxt, if I add this config to webpack plugins, there is an error claiming "Multiple assets emit to the same filename nuxt.bundle.js":

new webpack.optimize.CommonsChunkPlugin({
      names: ['vendor', 'manifest']
})
<!--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/c302">#c302</a>)</em></sub></div>