Files
Yoshihiro OKUMURA bed2435ba2 build: follow the vite react-ts template and clear the build warnings
The config files had drifted from what `npm create vite` scaffolds, and
the build printed two warnings on every run.

- drop tsconfig options that are redundant or no longer used
  (resolveJsonModule, esModuleInterop, useDefineForClassFields, ...)
  and move both projects to ES2023
- keep erasableSyntaxOnly off for src: SortConditionOrderDir is an enum
- keep strict on, which the current template omits
- externalise fs so lokijs stops warning about it
- split node_modules into a vendor chunk, which puts every chunk back
  under the 500 kB warning threshold without raising the limit
- emit nested files under public/, which the previous flat walk dropped
  without reporting them
2026-09-11 15:25:49 +09:00

26 lines
698 B
JSON

{
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
"target": "ES2023",
"lib": ["ES2023"],
"types": ["node"],
"skipLibCheck": true,
/* Bundler mode */
"module": "nodenext",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"moduleDetection": "force",
"noEmit": true,
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"erasableSyntaxOnly": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["vite.config.ts"]
}