Skip to content

Webpack tries to import a chunk that does not exist #16040

@hronro

Description

@hronro

Bug report

What is the current behavior?
Webpack is trying to import a chunk that does not exsit.

If the current behavior is a bug, please provide the steps to reproduce.

I have prepare a repo for reproducing it:

import * as __webpack_chunk_0__ from "./style.e9792867.js";

However, style.e9792867.js does not exsit.

What is the expected behavior?
Webpack should not import that unexist file.

Other relevant information:
webpack version: 5.73.0
Node.js version: 18.5.0
Operating System: macOS
Additional tools: PNPM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions