chore: change target to es6 to support more scenes

This commit is contained in:
Levi Yan
2024-07-11 10:56:59 +08:00
parent e479bf3ce6
commit 9ee41bc4aa

View File

@@ -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"
],
}