why customize bundle filename occur error in nuxt dev mode?
[issue link]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…