1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-11-18 15:54:54 +00:00
CC-Tweaked/projects/web/tsconfig.json
Jonathan Coates 6ec34b42e5
Small cleanup to our web build scripts
- Update to Rollup 4.x
 - Replace terser and postcss with swc and lightningcss. This is
   definitely more code for us to write (maybe I should turn them into
   proper plugins we can depend on), but both speedier and fewer
   dependencies.
 - Drop dependency on glob - we can get away with fs.readdir for what we
   needed it for.
2023-10-08 13:14:02 +01:00

34 lines
871 B
JSON

{
"compilerOptions": {
"module": "esNext",
"moduleResolution": "node",
"target": "es6",
"lib": [
"es2015",
"dom"
],
"newLine": "LF",
"baseUrl": ".",
// Additional compile options
"noEmitOnError": true,
"preserveWatchOutput": true,
"jsx": "react",
"jsxFactory": "h",
// Strict Type-Checking Options
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"verbatimModuleSyntax": true,
"forceConsistentCasingInFileNames": true,
// Needed for some of our internal stuff.
"allowSyntheticDefaultImports": true,
},
"include": [
"src/htmlTransform",
"src/frontend",
]
}