9d9e469bff
Fixes 'no low surrogate in string' API error when page content contains malformed Unicode characters. Uses toWellFormed() on Node.js 20+ with graceful fallback on older versions.
31 lines
777 B
JSON
31 lines
777 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "NodeNext",
|
|
"allowJs": false,
|
|
"composite": true,
|
|
"outDir": "${configDir}/dist",
|
|
"rootDir": "${configDir}/src",
|
|
"moduleResolution": "NodeNext",
|
|
"lib": [
|
|
"es2024",
|
|
"es2022",
|
|
"es2017",
|
|
"es7",
|
|
"es6"
|
|
// "dom"
|
|
],
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"strict": true,
|
|
"downlevelIteration": true,
|
|
"esModuleInterop": true,
|
|
"noImplicitAny": false,
|
|
"useUnknownInCatchVariables": false,
|
|
"sourceMap": true,
|
|
"jsx": "react-jsx",
|
|
"skipLibCheck": true
|
|
},
|
|
"exclude": ["**/node_modules", "**/.*/"]
|
|
}
|