You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use BigInteger indirectly via redux in an ES6 based app that I build via rollup.
Rollup fails to build because no default export of BigInteger can be found.
To fix this I added
export default bigInt;
at the end of BigInteger.js. Am I misunderstanding something here or is this really missing to make it work with ES6 imports?
The text was updated successfully, but these errors were encountered:
Thanks for the quick reply. It looks like there is a rollup plugin that would enable using CommonJS exports. I just thought it would be nice to support ES6 directly, especially since it's only this one line to add. Now that ES6 modules are supported by all major browsers many people will start with ES6 directly and will stumble over this.
I use BigInteger indirectly via redux in an ES6 based app that I build via rollup.
Rollup fails to build because no default export of BigInteger can be found.
To fix this I added
at the end of BigInteger.js. Am I misunderstanding something here or is this really missing to make it work with ES6 imports?
The text was updated successfully, but these errors were encountered: