Skip to content

Tag chunk load error with ChunkLoadError #1053

Closed
@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

'err.code = "CSS_CHUNK_LOAD_FAILED";',
).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions