v2.2 breaks create-react-app v1
nmitha opened this issue · comments
The changes made in v2.2 cause the following error running npm run build
with a react-scripts 1.1 (aka "Create React App"):
Creating an optimized production build...
Failed to compile.
Failed to minify the code from this file:
./node_modules/autobind-decorator/src/index.js:7
The above issue went away after downgrading autobind-decorator to 2.1.0.
I'm mostly just posting this here as an FYI in case someone else runs into this...
Also we get the same problem with code minimizing through UglifyJSPlugin in Webpack.