Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Unexpected token punc «(», expected punc «:» error from UglifyJs #2

Merged
merged 1 commit into from
Jun 4, 2017

Conversation

inouetakuya
Copy link
Owner

@inouetakuya inouetakuya commented Jun 4, 2017

Fix: Unexpected token punc «(», expected punc «:» error from UglifyJs.

I prefer

{
  render (createElement, context) { ... }
}

syntax to the old syntax: { render: function(createElement, context) { ... }}, therefore I use babel-preset-es2015.

@inouetakuya inouetakuya added the bug label Jun 4, 2017
@inouetakuya inouetakuya changed the title Fix: Unexpected token punc «(», expected punc «:» Fix: Unexpected token punc «(», expected punc «:» error from UglifyJs Jun 4, 2017
@inouetakuya inouetakuya merged commit 8239921 into master Jun 4, 2017
@inouetakuya inouetakuya deleted the fix-parse-error branch June 4, 2017 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant