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
|
|
@ -1,6 +1,6 @@
|
|||
import { createRequestHandler } from "@react-router/node";
|
||||
import { createServer } from "node:http";
|
||||
import { setupYjsWebSocket } from "./app/lib/yjs-server";
|
||||
import { setupYjsWebSocket } from "./app/lib/yjs-server.ts";
|
||||
|
||||
const port = Number(process.env.PORT ?? 3001);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue