- esbuild dev dep; build:web/dev:web bundle public/main.ts → public/build/main.js - gitignore public/build/; tsconfig.web.json now typecheck-only - frontend build convention documented in PLAN §1, DISPATCH, ARCHITECTURE §5 - resolves the T1 deferred decision
18 lines
695 B
JSON
18 lines
695 B
JSON
{
|
|
"// note": "Frontend (browser) config for public/*.ts — TYPE-CHECK ONLY (noEmit). moduleResolution Bundler lets bare imports (@xterm/xterm) resolve. The browser bundle is produced by esbuild: `npm run build:web` bundles public/main.ts → public/build/main.js. index.html loads ./build/main.js (type=module).",
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ESNext",
|
|
"moduleResolution": "Bundler",
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"types": [],
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": true
|
|
},
|
|
"include": ["public"]
|
|
}
|