ethereum-blockies-base64
ethereum-blockies-base64 copied to clipboard
Issue building after adding this module
yarn build v1.0.2
$ react-app-rewired build
Creating an optimized production build...
Failed to compile.
Failed to minify the code from this file:
./node_modules/ethereum-blockies-base64/dist/main.js:64
Read more here: http://bit.ly/2tRViJ9
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
See here for the issue at hand: https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify
Thanks for the report. Looks like in order to solve this, we'll need to do some ES5 transpiling for the build via Babel. I'll look into that, should be pretty straightforward.
same (or similar) here:
static/js/main.2b49b398.js from UglifyJs
SyntaxError: Unexpected token name «i», expected punc «;» [./~/ethereum-blockies-base64/dist/main.js:64,0]
+1 for:
static/js/main.50560590.js from UglifyJs
SyntaxError: Unexpected token name «i», expected punc «;» [./~/ethereum-blockies-base64/dist/main.js:64,0]
Using: truffle-react-box 0.1.0
A temporally solution for people like me, who don't know anything about babel, webpack or uglifyjs, just convert the whole main.js in babeljs.io and paste it back
Anyone addressing this?