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>
18 lines
391 B
JSON
18 lines
391 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"include": [
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".react-router/types/**/*"
|
|
],
|
|
"exclude": ["build", "node_modules", "server.ts"],
|
|
"compilerOptions": {
|
|
"rootDirs": [".", "./.react-router/types"],
|
|
"noEmit": true,
|
|
"allowImportingTsExtensions": true,
|
|
"types": ["vite/client"],
|
|
"paths": {
|
|
"~/*": ["./app/*"]
|
|
}
|
|
}
|
|
}
|