Skip to content

Not working with webpack 5Β #82

@chaoyangnz

Description

@chaoyangnz

I use this plugin with webpack 5. It causes the wrong module resolving.

I have an example repo to reproduce it:

When I enable this plugin in webpack.config.js, check webpack verbose logs, search package.json, you will see package.json in node_modules will be resolved to the package.json in my repo.

When I disable this plugin, the module is resolved correctly.

The repo: https://github.com/chaoyangnz/webpack-5-wrong-module-resolve

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions