-
Notifications
You must be signed in to change notification settings - Fork 220
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(karma-webpack): disable optimization
by default (webpack >= v4.0.0
)
#325
Conversation
@scottohara I've been working on karma being able to serve the virtual files generated by webpack, so this isn't needed as it'll support multiple chunks, etc. Let me know if you want to collaborate on it! |
@rynclark That's great news. I was beginning to wonder if this project had been abandoned, as there had been little to no activity over the past month, and So its good to hear that someone else is working on solutions for |
Would it be possible to merge/release this PR in the meantime? For users who haven't discovered the workaround, #322 is a complete blocker for being able to use karma-webpack with webpack 4. |
Yeah I don't see why not. The update to |
Gentle ping :-) |
@edmorley I’m not the one who makes the decision I’m afraid 😔 |
@michael-ciniawsky ^ :-) |
optimization
(webpack >= v4.0.0
)
First if all sry for the late response I try to keep things alive here, but this package badly needs some maintainers (actively using it) to make progress in a timely manner :) I believe this needs to be opened against the |
Thanks @michael-ciniawsky. I have updated the base branch from |
optimization
(webpack >= v4.0.0
)optimization
by default (webpack >= v4.0.0
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@scottohara Thx
Released in |
What is the current behavior? (You can also link to an open issue here)
For webpack 4, the presence of
optimization.splitChunks
andoptimization.runtimeChunk
causes karma to hang at the message 'Compiled successfully' (#322)What is the new behavior?
A workaround is for end-users to set these two properties to
false
in their webpack/karma configs; however it would make more sense to havekarma-webpack
do this in all cases, so that new users aren't left scratching their heads as to why their test suite won't run.Type
Issues
SemVer
Checklist