Nuxt.js: webpackChunkName get undefined

Created on 23 Aug 2017  路  2Comments  路  Source: nuxt/nuxt.js

  1. set nuxt.config.js

filenames: { chunk: '[name].[chunkhash].js' }

  1. my directory like this picture

    2017-08-24 3 35 06

  2. npm run build

    then i got an undefined.[chunkhash].js file in .nuxt/dist/pages directory

    i find it in Generating routes

    2017-08-24 3 38 38

    is a bug?

    in code source /lib/common/utils.js .lines 189, here is

    route.name = route.name.replace(/-index$/, '')

    why do this?

    my english is poor锛宻orry

This bug report is available on Nuxt.js community (#c1300)
available soon bug-confirmed

Most helpful comment

@Jeesoong Thanks for your nice report. Will be fixed in next release :)

All 2 comments

@Jeesoong Thanks for your nice report. Will be fixed in next release :)

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bimohxh picture bimohxh  路  3Comments

gary149 picture gary149  路  3Comments

VincentLoy picture VincentLoy  路  3Comments

uptownhr picture uptownhr  路  3Comments

vadimsg picture vadimsg  路  3Comments