Closed ryanclark closed 6 years ago
https://github.com/webpack-contrib/karma-webpack/releases/tag/v4.0.0-beta.0 already droppedwebpack < v4.0.0
, this PR is semver patch :)
Released in v4.0.0-rc.0
🎉
finally helpful error messages on failing execution! 🙌 I was searching for hours why my typescripts tests are not executed when I import certain modules. Now I now: I have to put them in the files array! Thanks folks! 😍
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior?
Currently the loader uses
this.options
, which is deprecated in webpack 4, causing an error.What is the new behavior?
Adds the compilation name to the loader options and uses
loader-utils
to parse the loader context and retrieve the name.Drops
webpack < v4.0.0
support as it doesn't work due towebpack-dev-middleware
not supporting anything less thanv4.0.0
.Does this PR introduce a breaking change?