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
RCA transpiles to ES5 before it attempts to uglify, but seems it's falling over on some ES6 syntax. Installing icepick@<2 does work, and I don't have the time to debug this further right now unfortunately, but the repro is pretty simple.
create-react-app test-icepick-uglify
cd test-icepick-uglify
yarn add icepick
Edit src/App.js to add an icepick import
yarn build
yarn build v0.24.6
$ react-scripts build
Creating an optimized production build...
Failed to compile.
static/js/main.fd1459b7.js from UglifyJs
Unexpected token: operator (>) [./~/icepick/icepick.js:16,0][static/js/main.fd1459b7.js:11521,25]
error Command failed with exit code 1.
See https://github.com/Psykar/test-icepick-uglify
RCA transpiles to ES5 before it attempts to uglify, but seems it's falling over on some ES6 syntax. Installing
icepick@<2
does work, and I don't have the time to debug this further right now unfortunately, but the repro is pretty simple.create-react-app test-icepick-uglify
cd test-icepick-uglify
yarn add icepick
src/App.js
to add an icepick importyarn build
Alternatively, clone https://github.com/Psykar/test-icepick-uglify then
yarn build
and you'll also see it :)The text was updated successfully, but these errors were encountered: