Skip to content

Tag chunk load error with ChunkLoadError #1053

@jorrit

Description

@jorrit

The Webpack runtime sets the name of chunk load errors to ChunkLoadError (see for example https://github.com/webpack/webpack/blob/1f13ff9fe587e094df59d660b4611b1bd19aed4c/lib/css/CssLoadingRuntimeModule.js#L350).

My suggestion is to also add this to the error thrown by mini-css-extract-plugin (around https://github.com/webpack-contrib/mini-css-extract-plugin/blob/d5e540baf8280442e523530ebbbe31c57a4c4336/src/index.js#L877).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions