Skip to content
New issue

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

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

Already on GitHub? # to your account

Error building Preact app #244

Closed
insin opened this issue Jan 25, 2017 · 0 comments
Closed

Error building Preact app #244

insin opened this issue Jan 25, 2017 · 0 comments

Comments

@insin
Copy link
Owner

insin commented Jan 25, 2017

Uglify can't handle the ES2015 in preact-compat's module build:

λ preact build bootstrap.js
× Building Preact app

Failed to compile with 1 error.

 ERROR  in app.015dd5b3.js from UglifyJs
SyntaxError: Unexpected token: punc ()) [./~/preact-compat/src/index.js:34,0][app.015dd5b3.js:2449,24]

Workarounds suggested here: preactjs/preact-compat#192

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant