Skip to content

/* webpackChunkName: "name" */ is working without the exact name.  #996

Closed
@SidKwok

Description

@SidKwok

My async route:

const MainView = () => import(/* webpackChunkName: "group-foo" */ '@/components/MainView')
const OneView = () => import(/* webpackChunkName: "group-foo" */ '@/components/OneView')
const TwoView = () => import(/* webpackChunkName: "group-foo" */ '@/components/TwoView')

After I run build:
1508482209806

The bundle name is 0 rather than group-foo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions