Use explicit .ts extensions for Node-compatible imports
Node's --experimental-strip-types requires explicit .ts extensions on relative imports. Add allowImportingTsExtensions to both app tsconfigs and update server-side imports in planner and journal for consistency. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1abcc5c804
commit
4d73de4e0d
8 changed files with 9 additions and 7 deletions
|
|
@ -9,6 +9,7 @@
|
|||
"compilerOptions": {
|
||||
"rootDirs": [".", "./.react-router/types"],
|
||||
"noEmit": true,
|
||||
"allowImportingTsExtensions": true,
|
||||
"types": ["vite/client"],
|
||||
"paths": {
|
||||
"~/*": ["./app/*"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue