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
const { init, parse } = require('es-module-lexer') init.then(() => { const [imports, ex] = parse('export const name1 = 1, name2 = 2;') console.log(imports, ex) })
Outputs
[] [ { s: 16, e: 21, ls: 16, le: 21, n: 'name1', ln: 'name1' } ]
But there should be a name2 export.
name2
The text was updated successfully, but these errors were encountered:
es-module-lexer
No branches or pull requests
Outputs
But there should be a
name2
export.The text was updated successfully, but these errors were encountered: