Open oddball opened 6 years ago
Yes, this is an issue for any create-react-app based projects, and should be babelified on the project level, before releasing to npm.
The only workaround for this is to link the files from node_modules and have it required with a './something'
like import, which would make them babelified via webpack.
But this is considered a bad practice to publish packages with un-babelified ES6 code.
from my react project I had issues, when
Does anyone know how to solve this?