-
Notifications
You must be signed in to change notification settings - Fork 19
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
fix: webpack 4 #413
fix: webpack 4 #413
Conversation
@getkey Thanks! Is this actually testing against |
Right, I forgot to run the tests. I also need to update the devDependency. I'll do it tomorrow because I'm in bed now. ;-) |
A bunch of tests are failing because webpack@4 prepends |
Neat, I'll take a look when I get into the office in a bit. May just need to tweak the test webpack configs, hopefully. |
Most of the failures seem to be around https://github.com/tivac/modular-css/tree/pr/413 Having some weird output from the test that runs webpack multiple times w/ changed file contents though, will need to investigate that further I think. |
Looks like 😒 I'll need to do some research on what replaced that event. I love major version upgrades! |
https://github.com/webpack/webpack.js.org/blob/next/src/content/api/plugins.md |
@deflock I tried that, it never seems to get invoked either. 😒 |
Tracked it down, fixing the last few Travis failures now. |
#413 got things working, now the tests pass too!
#413 got things working, now the tests pass too!
@getkey published as Thanks again! 🎉 |
AFAIK this version should be compatible with webpack 2-4, though testing it against multiple versions is challenge. |
Ah alright, yes! 🙂 |
This PR fixes API changes introduced in Webpack 4.