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

feat: ESM detection support #160

Merged
merged 1 commit into from Nov 9, 2023

Conversation

sapphi-red
Copy link
Contributor

close #159

I added the fourth return value that returns whether the code includes ESM syntaxes.

I didn't change https://github.com/guybedford/es-module-lexer/blob/main/lexer.js. Is this file used?

@guybedford guybedford merged commit d41c1c8 into guybedford:main Nov 9, 2023
1 check passed
@guybedford
Copy link
Owner

lexer.js is an old browser build that is no longer maintained, although the tests can be run manually. It should probably just be removed at this point.

@sapphi-red sapphi-red deleted the feat/has-module-syntax branch November 10, 2023 03:23
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

Successfully merging this pull request may close these issues.

Feature request: Include an information whether the code includes export {}
2 participants