-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support JSX syntax #5
Comments
This package is pretty much a wrapper around For now I would recommend transpiling and then parsing for imports using this package. Also, depending on what you use to transpile you may be able to get the imports as part of that step |
Thanks. Hope to use parse-imports at some later date then when it supports JSX. |
Hope this will be added soon ! |
Out of curiosity, do y'all care about/use the dynamic import support of the package? Or just the static imports support? |
Hi, I know this doesn't match the topic entirely, but I feel the answers might be the same. I just tried using this and it works flawlessly and awesomely for javascript files in my projects, but I get a parser error for Vue.js files. I think it chokes on the {{}} in the Vue elements. I haven't seen any work or issues done relating to vue.js in es-module-lexer either, just wanted to confirm if this was expected or if there is a workaround. |
Generally it's expected that this package only works on standard JS syntax |
Here are a couple of examples. I show the error message on the specific line referenced in the error.
The text was updated successfully, but these errors were encountered: