Closed edmorley closed 3 years ago
https://github.com/webpack/changelog-v5#minor-changes says:
SingleEntryPlugin and SingleEntryDependency removed MIGRATION: use EntryPlugin and EntryDependency
No commit or PR merge since june 10 2019. There was a PR for fixing this issue, but it was closed by the submitter. I don't know why, but I guess because of inactivity. This project looks dead. It is unfortunate now that Webpack 5 is out, and it is blocked on this issue.
EDIT: Ok I have pulled in rahcusa's fix into a fork here: https://github.com/samal-rasmussen/karma-webpack
I added some other minor changes too, which you can see in the commit log.
Npm is able to pull in packages directly from github, so you can use it directly in you package.json just like this:
"karma-webpack": "samal-rasmussen/karma-webpack#49410439564034bf2c89c5c13ba71a763f592380"
That points to a specific commit in the github fork, so you know what you are getting.
Team is already working on fixing. You can use https://github.com/ryanclark/karma-webpack/tree/next for latest Webpack5 configuration updates
No commit or PR merge since june 10 2019. There was a PR for fixing this issue, but it was closed by the submitter. I don't know why, but I guess because of inactivity. This project looks dead. It is unfortunate now that Webpack 5 is out, and it is blocked on this issue.
EDIT: Ok I have pulled in rahcusa's fix into a fork here: https://github.com/samal-rasmussen/karma-webpack
I added some other minor changes too, which you can see in the commit log.
Npm is able to pull in packages directly from github, so you can use it directly in you package.json just like this:
"karma-webpack": "samal-rasmussen/karma-webpack#49410439564034bf2c89c5c13ba71a763f592380"
That points to a specific commit in the github fork, so you know what you are getting.
@samal-rasmussen Right now it's throwing error with that src
directory you have made in above commit id. Can you please fix it?
That is great news.
Right now it's throwing error with that src directory you have made in above commit id. Can you please fix it?
I just tried clearing node_modules and fetching all packages again and rebuilding and running my tests in my project again. No issues. Could you share a bit more details about the issue you are seeing?
Please refer screenshot for error, which works fine if I change src to dist here https://github.com/samal-rasmussen/karma-webpack/blob/master/package.json#L10. I guess this is mainly because that src directory doesn't gets published while installing from package.
Directory listing of node_modules
after doing clean sweep.
ls node_modules/karma-webpack/
CHANGELOG.md dist LICENSE node_modules package.json README.md
To limit confusion, I am combining all threads for webpack 5 / karma6 support over here ==> https://github.com/ryanclark/karma-webpack/issues/475
v5 is now available
Expected Behavior
karma-webpack does not give errors about missing modules under webpack 5 beta.
Actual Behavior
Code
I can export a Neutrino config if really necessary, but this is reproduceable with any config.
How Do We Reproduce?
https://travis-ci.com/neutrinojs/neutrino/jobs/267299372