build: updated ts build config
This commit is contained in:
+13
-22
@@ -1,27 +1,18 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
/* Language and Environment */
|
"target": "ES2021",
|
||||||
"target": "ESNext", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
"module": "CommonJS",
|
||||||
/* Modules */
|
"rootDir": "./src",
|
||||||
"module": "ESNext", /* Specify what module code is generated. */
|
"moduleResolution": "Node",
|
||||||
"rootDir": "./src", /* Specify the root folder within your source files. */
|
// "sourceMap": true,
|
||||||
"moduleResolution": "Node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
"outDir": "./dist",
|
||||||
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
"declaration": true,
|
||||||
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
"removeComments": true,
|
||||||
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
|
"esModuleInterop": true,
|
||||||
/* Emit */
|
"forceConsistentCasingInFileNames": true,
|
||||||
// "sourceMap": true, /* Create source map files for emitted JavaScript files. */
|
"strict": true,
|
||||||
"outDir": "./dist", /* Specify an output folder for all emitted files. */
|
"strictFunctionTypes": true,
|
||||||
"removeComments": true, /* Disable emitting comments. */
|
"skipLibCheck": true
|
||||||
/* Interop Constraints */
|
|
||||||
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
|
|
||||||
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
|
||||||
/* Type Checking */
|
|
||||||
"strict": true, /* Enable all strict type-checking options. */
|
|
||||||
"strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
|
||||||
/* Completeness */
|
|
||||||
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
|
|
||||||
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"./src"
|
"./src"
|
||||||
|
|||||||
Reference in New Issue
Block a user