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
findStaticImports
findDynamicImports
mlly: ^1.1.1 node: 18.14.2
import { findDynamicImports, findStaticImports } from "mlly" console.log(findDynamicImports("// const foo = await import('bar')").length) // returns 1 console.log(findStaticImports("// import { foo } from 'bar' ").length) // returns 1
Similar to findExports before #56 was merged, imports that have been commented out are still being parsed.
findExports
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Environment
mlly: ^1.1.1
node: 18.14.2
Reproduction
Describe the bug
Similar to
findExports
before #56 was merged, imports that have been commented out are still being parsed.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: