-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
bareImports.js does not handle ESM/TS path aliases #7275
Labels
Comments
Fixed by #6916 . You can try it out now with |
MichaelDeBoey
added
the
needs-response
We need a response from the original author about this issue/PR
label
Aug 29, 2023
MichaelDeBoey
removed
the
needs-response
We need a response from the original author about this issue/PR
label
Aug 31, 2023
This is still an issue. I am on 2.3.0 |
Given a route with a tilde path the dev server fails with:
|
@cyberwombat did you figure out how to resolve this? I have the same issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Remix are you using?
1.19.1
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
Given a path alias in TSConfig:
and package.json set to:
I get errors in remix run module
node_modules/@remix-run/dev/dist/compiler/server/plugins/bareImports.js
when doing an import in my code such as:The code runs though. I am currently commenting out that error log. I am using this as part of Shopify Hydrogen using their demo store but with type set to module. Works fine without that so I think something needs ESM addressing.
Expected Behavior
No errors to be thrown
Actual Behavior
The text was updated successfully, but these errors were encountered: