-
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
[Bug]: Recognise setting a baseUrl in tsconfig #1250
Comments
Just as an additional note: it looks like this should already be supported by Esbuild evanw/esbuild#60 |
I too ran into this problem. It seems that remix and/or the version of esbuild being used don't take into consideration the I set up the starter application with typescript configured as per the Remix typescript guidelines. Running
You can see that typescript resolves the module fine. |
hey folks, sorry for not popping in here sooner, but i have good news.
|
What version of Remix are you using?
1.0.6
What version of Node are you using? Minimum supported version is 14.
16.13.0
Steps to Reproduce
When using the standard Remix starter, add the following line to the
tsconfig.json
.Create some file in the root of the project, e.g. stitches.config.ts, for https://stitches.dev/
Import this file somewhere else in your application, and use it, e.g. in
./app/routes/index.tsx
.Now run:
and navigate to http://localhost:3000
Expected Behavior
The app should run and show the normal remix index page.
Actual Behavior
Error: Cannot find module 'stitches.config'
The text was updated successfully, but these errors were encountered: