Files
ui/pkg/data/tsconfig.cjs.json

16 lines
581 B
JSON

{
"extends": "./tsconfig.build.json",
"compilerOptions": {
// `module: commonjs` is stated here; `moduleResolution` is not. Under
// TypeScript 5 a `bundler` resolution inherited into a `commonjs` target
// was a hard TS5095 error, so this named `node` to escape it. TypeScript 7
// removed `node10` outright (TS5108) and accepts the inherited `bundler`
// beside `commonjs`, so the escape is now the thing that fails.
"module": "commonjs",
"outDir": "./dist-cjs",
"declaration": false,
"declarationMap": false,
"sourceMap": false
}
}