Closed matthieu-foucault closed 5 years ago
@thijstriemstra: this pull request should fix your issue
thanks for the ping @matthieu-foucault, can i install and test this PR using npm?
thanks for the ping @matthieu-foucault, can I install and test this PR using npm?
Yes, using npm install webpack-contrib/karma-webpack#fix-static-output.filename
works: "karma-webpack@4.0.0-beta.0" doesn't work: "karma-webpack@4.0.0-rc.5" this PR: works!
thanks @matthieu-foucault
@matthieu-foucault can this be released as a new RC?
@thijstriemstra Done! Sorry for the delay
thanks. for some reason it doesn't allow me to install rc.6
No matching version found for karma-webpack@4.0.0-rc.6
And dev
installs rc.5...
It does appear in npmjs though (under the next
tag): https://www.npmjs.com/package/karma-webpack/v/4.0.0-rc.6
dev
should install v5 alpha
This PR contains a:
Motivation / Use-Case
If there are multiple tests, and the webpack configuration has a static
output.filename
, e.g.'bundle.js'
, all entry points will be emitted to the same bundle. Karma will output errors, andkarma-webpack
will ultimately fail as test files will not have any corresponding output file.