-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Create React App 2 Build Error #51
Comments
Thanks for reporting @SCasarotto . As I read up, I see the issue is related to Terser bug unable to handle func defined inside |
Tested and appears to be fixed. |
This is still a bug, we just masked it. I'd leave this open for tracking. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Hey @selvagsz,
I updated one of my projects to CRA2 and was attempting to build. Received the following error:
Failed to minify the bundle. Error: static/js/1.fa0b5eff.chunk.js from Terser
From there I started into my project to try to narrow down what was causing this error. After isolating this more, it looks like it is this package. To prove this to myself I set up a blank app and received the same error.
Steps to reproduce:
npx create-react-app my-app
cd my-app
yarn add react-power-select
/src/App.js
addimport { PowerSelect } from 'react-power-select'
yarn build
I am also going to post about this in CRA but figured if it is something that has to be fixed here I would give you aheads up. (facebook/create-react-app#5250)
Will keep you posted.
The text was updated successfully, but these errors were encountered: