-
Notifications
You must be signed in to change notification settings - Fork 56
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
Support Webpack 4.29.0 breaking change #74
Comments
Workaround: But this behavior will be default in webpack 5 |
Hold on! This doesn't get fixed! Webpack will switch to this new behavior and we don't know if they will give us an option to fall back to the old behavior!! |
@Jack-Works Correct path is: |
Copy @gajus @feorex @Jack-Works |
In Angular cli 8.3 I got this error for ng build --prod But ng build --prod --source-map=false worked for me |
Note - this is removed in webpack 5 beta, so this plugin does not work in webpack 5. |
I'm on Webpack 5. This plugin is broken for me :/. |
It seems that this plugin is not needed anymore with webpack 5 (edit: since webpack-dev-server 3.1.10) 🎉 The webpack-dev-server now has a writeToDisk option and the same is available too with webpack-dev-middleware. The middleware page even have this description:
So thanks a lot @gajus for this excellent plugin, even if it's not needed anymore it will still be used for years to come in already existing projects :) |
write-file-webpack-plugin/src/WriteFileWebpackPlugin.js
Line 168 in af0192e
If
asset
is an instance of SizeOnlySource, it will throw an error on any method exceptsize
Breaking change: https://github.com/webpack/webpack/releases/tag/v4.29.0
Exception stack
The text was updated successfully, but these errors were encountered: