Closed
Description
Create React App now supports ES6 modules (and the transpiling of node_modules
folder) and is now using package.modules
. I think this is what is causing #1269. I propose switching package.modules
to be a transpiled version except for ES6 modules and not the source code.
I'm hesitant to add a third version of this library within the node module, but main
should be ES5/CJS and modules
should be ES6, and I'd like to the source code present, especially for internal library users that are using .babelrc
and want to use master
branch pull downs in their app, etc.
Another option is remove the CJS version and require ES6 module usage.
This will most likely be 0.9.x and include #1265 's module.export
fixes.