Closed tuchk4 closed 7 years ago
When added this lib into project (directly or via jss-styled) react-scripts build always failed with error:
react-scripts build
static/js/1.9d0c9b4b.chunk.js from UglifyJs SyntaxError: Unexpected token: operator (>) [../rockey/packages/rockey-react/~/is-react-prop/lib/index.js:38,0]
add babel-plugin-transform-es2015-arrow-functions to fix this error
Oh, @tuchk4 huge thanks for that fix!
@tuchk4 is it okay now?
@lttb yes. Everything works fine at my app.
just update is-react-prop at styled-jss :)
is-react-prop
styled-jss
thanks for fast reply!
When added this lib into project (directly or via jss-styled)
react-scripts build
always failed with error:add babel-plugin-transform-es2015-arrow-functions to fix this error