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