-
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
Add main entry point to package.json #305
Comments
As a workaround, this fixes the issue:
|
#306 Should fix it, could someone quickly confirm by manually adding it to in |
For others who might be running into this issue, it manifests like this:
@wwilsman's mitigation works just fine for now, but note that you'll have to manually add all |
@michael-ciniawsky Can confirm. Made the change locally and it seems to have fixed the issue. |
Just a sec cutting a release :) |
Thanks for the quick turnaround guys! |
Released in |
I'm submitting a bug report
Webpack version:
4.0.0
Webpack Karma version:
2.0.10
Karma version:
2.0.0
Current behavior:
With 56e99b0 the index was moved to
src
. Since the index is no longer at the root of this package, themain
property ofpackage.json
needs to be updated tolib
(where the index eventually ends up).Without updating the entry point, karma cannot find the module.
require('karma-webpack')
also is unable to find the entry point.Expected/desired behavior:
Karma and
require
should be able to find the module's entry pointThe text was updated successfully, but these errors were encountered: