-
-
Notifications
You must be signed in to change notification settings - Fork 626
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
Uglify error SyntaxError: Unexpected token: operator (>) #460
Comments
Thanks for the info @Bnaya . I guess we shouldn't target es2015 in the build script, just es2015 modules and target es5 for the rest. |
The name of the module (currently |
dfahlander
added a commit
that referenced
this issue
Jan 30, 2017
Best practice seems to be not to deliver ES6 modules but ESM modules (just ES module syntax but not other non-ES5 code). Resolves #460.
Using extension
(Previous releases did have |
Side note: Now also configured the addons to produce es.js outputs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The code that provided in package.json.module / package.json.es:next needs to be a valid es5 code, except of the es6 modules syntax. (as rollup guidelines )
Currently its contain other es6 features as arrow functions.
When Uglifying js code that contains also dexie code it breaks with that following error:
SyntaxError: Unexpected token: operator (>)
because of an error functionThat error didn't happen with dexie beta.7 but with beta.9
The text was updated successfully, but these errors were encountered: