Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack 5 compatibility issues #70

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Conversation

jonamat
Copy link

@jonamat jonamat commented Nov 29, 2020

Since webpack has changed some plugin hooks, this plugin is no longer compatible with the newer versions. the culprit is the line
compiler.plugin('emit', (compilation, callback) => {
who conflicts with the new hooks and throw an error during bundiling.
To implement the plugin now is needed
compiler.hooks.emit.tapAsync

While I was there I got carried away and I've standardized the development environment and updated the packages to the latest versions, some of these like React required some code adaptations (the core is untouched)

@jonamat
Copy link
Author

jonamat commented Nov 30, 2020

Since this project seems unmaintained, I published a new working fork of that, if you need it use
npm i -D webpack-visualizer-plugin2
it works with webpack 5x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants