-
Notifications
You must be signed in to change notification settings - Fork 6
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
Webpack picks up "module" entry point instead of "main" #5
Comments
Thanks for the report. Removing the I'll have to dig around a little to see if there's some good way to handle it, and fix it if possible or at least document it. |
That issue I read suggested you might be able to add a |
Did you see this workaround in the comments for that issue?
Since you don't want any |
Heh, I didn't bother looking into it because the
Looks like the webpack default is Feel free to close this if you think it's not worth changing. |
Hey, I don't know much about authoring node modules, so I'm not sure if there is anything you can do about this.
I'm using webpack to run my code through babel to get IE11 support.
I have it configured to only babelfy my source code, not node_modules.
If I import mergerino like
import merge from 'mergerino';
webpack will pick up the ES6 version.I can workaround it by instead doing
import merge from 'mergerino/dist/mergerino.es5';
.webpack/webpack#5756
The text was updated successfully, but these errors were encountered: