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
I want to generate a graph of react components but have Error: Parse error @:9:11 on a small component without dependencies
Error: Parse error @:9:11
The text was updated successfully, but these errors were encountered:
could you share a minimal reproduction?
Sorry, something went wrong.
Sorry for not sharing this initially https://github.com/andriyor/next-module-graph/blob/main/graph.ts
No worries :) It seems like you're running into this: guybedford/es-module-lexer#47
We could make the import analysis pluggable so you can opt in to using typescript instead of es-module-lexer, we do already have code to analyse imports/exports that would be needed to achieve this here: https://github.com/thepassle/module-utils?tab=readme-ov-file#importsexports
but im not sure when i'll be able to get to this
No branches or pull requests
I want to generate a graph of react components but have
Error: Parse error @:9:11
on a small component without dependencies
The text was updated successfully, but these errors were encountered: