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

Provide an ES Module version #112

Open
SaekiRaku opened this issue May 31, 2020 · 1 comment
Open

Provide an ES Module version #112

SaekiRaku opened this issue May 31, 2020 · 1 comment

Comments

@SaekiRaku
Copy link

SaekiRaku commented May 31, 2020

I want to deal with JSX in Deno, but it can only import ES Modules.

For now, I just download the acorn-jsx and change all exports/require syntax to export/import syntax, it works for me. But it's better to import from a CDN link directly in Deno.

@RReverser RReverser changed the title Add support for Deno (Provide an ES Module version) Provide an ES Module version May 31, 2020
@RReverser
Copy link
Member

I think ES module version would be useful (regardless of Deno) and doable in a similar way to what we do in Acorn; I'll be happy to accept such a PR.

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

No branches or pull requests

2 participants