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
- in
/src/App.js add import { 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.
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 TerserFrom 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-appcd my-appyarn add react-power-select/src/App.jsaddimport { PowerSelect } from 'react-power-select'yarn buildI 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.