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

sourceType: "module" with ES5 target? #289

Closed
dead-claudia opened this issue Sep 5, 2016 · 2 comments
Closed

sourceType: "module" with ES5 target? #289

dead-claudia opened this issue Sep 5, 2016 · 2 comments
Labels

Comments

@dead-claudia
Copy link

It'd be helpful with Rollup, if you don't want to use Babel.

@dead-claudia
Copy link
Author

Related to acornjs/acorn#459. I filed it in both places because it's an Acorn issue that will also need support here (sourceType: "module" overrides ecmaVersion: 5 when it IMO shouldn't).

@nzakas
Copy link
Member

nzakas commented Sep 6, 2016

I'm sorry, this just isn't technically possible. You can't have ES6 modules with ES5.

@nzakas nzakas closed this as completed Sep 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants