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
$ npm run build
> react-scripts build
Creating an optimized production build...
Failed to compile.
Failed to minify the code from this file:
./node_modules/regl-scatter2d/scatter.js
Does anyone know how to solve this?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: