-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Sometimes this plugin can break a build with an error when webpack@5 is used:
Cannot find module '<path-to-repo>/node_modules/<lib>/package.json'
It's easy to reproduce this issue. Just add to the project @babel/runtime dependency and try to make a build. The build will be broken with the follow error:
Error: Cannot find module '<path-to-repo>/node_modules/@babel/package.json'
Here is an example repo: webpack-file-dependencies-issue/tree/license-checker-webpack-plugin-example.
Initial issue: webpack/webpack#11971
technote-space, mkusaka, Eli-Black-Work, dopry, Keavon and 1 more
Metadata
Metadata
Assignees
Labels
No labels