Static GitHub Issues

[2692] why customize bundle filename occur error in nuxt dev mode?

prev: How to use a same component for two or multiple routes / pages?
next: Generating dynamic routes Error: "generate.routes" must be an array

build and start, it is fine. but when 'npm run dev', following error occurred.

[nuxt] Error while initializing app TypeError: Cannot read property 'call' of undefined
      at o (manifest.app.js:1)
      at <anonymous>

a few hours later, i found customize bundle filenames was crushing nuxt dev mode

in nuxt.config.js

module.exports = {
         filenames: {
               manifest: 'manifest.app.js',
               vendor: 'vendor.app.js',
               app: 'app.app.js'
          }
}

when remove filenames field, development mode work fine. but i don't know why......

<!--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/c2340">#c2340</a>)</em></sub></div>