Skip to content

add babel-plugin-transform-es2015-arrow-functions#1

Merged
lttb merged 1 commit intolttb:masterfrom
tuchk4:master
Apr 25, 2017
Merged

add babel-plugin-transform-es2015-arrow-functions#1
lttb merged 1 commit intolttb:masterfrom
tuchk4:master

Conversation

@tuchk4
Copy link
Copy Markdown
Contributor

@tuchk4 tuchk4 commented Apr 25, 2017

When added this lib into project (directly or via jss-styled) react-scripts build always failed with error:

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

@lttb lttb merged commit 492f304 into lttb:master Apr 25, 2017
@lttb
Copy link
Copy Markdown
Owner

lttb commented Apr 25, 2017

Oh, @tuchk4 huge thanks for that fix!

@lttb
Copy link
Copy Markdown
Owner

lttb commented Apr 25, 2017

@tuchk4 is it okay now?

@tuchk4
Copy link
Copy Markdown
Contributor Author

tuchk4 commented Apr 25, 2017

@lttb yes. Everything works fine at my app.

just update is-react-prop at styled-jss :)

thanks for fast reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants