chore: change target to es6 to support more scenes
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"module": "commonjs",
|
"module": "CommonJS",
|
||||||
"target": "ES2022",
|
"target": "ES6",
|
||||||
"lib": [
|
"lib": [
|
||||||
"ES2022"
|
"ES6",
|
||||||
|
"DOM"
|
||||||
],
|
],
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"rootDir": "src",
|
"rootDir": "src",
|
||||||
@@ -16,5 +17,8 @@
|
|||||||
"outDir": "dist", /* Redirect output structure to the directory. */
|
"outDir": "dist", /* Redirect output structure to the directory. */
|
||||||
"removeComments": true, /* Do not emit comments to output. */
|
"removeComments": true, /* Do not emit comments to output. */
|
||||||
"noEmitOnError": true, /* Do not emit outputs if any errors were reported. */
|
"noEmitOnError": true, /* Do not emit outputs if any errors were reported. */
|
||||||
}
|
},
|
||||||
|
"include": [
|
||||||
|
"**/*.ts"
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user