-
-
Notifications
You must be signed in to change notification settings - Fork 634
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 module
field in package.json
#928
Comments
Because many users started reporting errors when they used ES6 modules. So I simply dropped the module field. You can use it at your own risk, we don't currently support it because |
I've made experiment:
Anyway i can't claim that Inferno really need in |
Btw 'inferno:main' is pointing to es6 |
@Havunen I'm maintainer of rollup-plugin-node-resolve. If there's a problem, let's fix it. Bundling commonjs is not efficient for libraries. As you can see redux uses this too reduce bundle size. |
@TrySound problem is that people don't configure It's more than just the rollup ecosystem |
@teehemkay If you're resolving |
Since v1.3.0 inferno and it's packages has
dist-es
folder, so why don't add amodule
field to import bundled Inferno es2015 module withimport Inferno from 'inferno'
? At this moment i should useimport Inferno from 'inferno/dist-es'
.By the way: most installed inferno packages has
node_modules
folder withinferno-shared
in it. What's the point of this? why it not installed as dependency to projectsnode_modules
folder? Now i have installed inferno and 4 inferno packages and each has it's owninferno-shared
, it looks strange to me.And thanks for your work, Inferno is great.
The text was updated successfully, but these errors were encountered: