Update tsconfig base files in @strapi/typescript-utils

This commit is contained in:
Convly 2022-04-05 16:32:47 +02:00
parent b25ac466ac
commit e84a051956
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"module": "ES2020",
"moduleResolution": "node",
"lib": ["ES2020", "DOM"],
"target": "ES5",
"jsx": "react",
"sourceMap": true,
"incremental": true,
"allowJs": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"noEmit": true,
"skipLibCheck": true
}
}

View File

@ -0,0 +1,18 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"module": "CommonJS",
"moduleResolution": "Node",
"lib": ["ES2020"],
"target": "ES2019",
"strict": false,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"noEmitOnError": true
}
}