mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-11-05 09:36:19 +00:00
6ec34b42e5
- 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.
34 lines
871 B
JSON
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",
|
|
]
|
|
}
|