We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Originally reported here but then I realized that the error was only thrown when this plugin was used
Repro
const { Parser } = require('acorn') const { importAssertions } = require('acorn-import-assertions') Parser .extend(importAssertions) .parse(`export * as '🙈' from 'external'`, { sourceType: 'module', ecmaVersion: 'latest' })
Actual
Uncaught [SyntaxError: Unexpected token (1:12) ] { pos: 12, loc: Position { line: 1, column: 12 }, raisedAt: 15 }
Expected
It should parse this input correctly
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Originally reported here but then I realized that the error was only thrown when this plugin was used
Repro
Actual
Expected
It should parse this input correctly
The text was updated successfully, but these errors were encountered: