fix: fix build script

This commit is contained in:
fantasticit 2022-05-20 23:12:45 +08:00
parent 5c204e1092
commit 56e6d9d797
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@
"sideEffects": false,
"license": "MIT",
"scripts": {
"build": "tsc src/*.ts --outDir lib --skipLibCheck --declaration"
"build": "tsc src/*.ts --outDir lib --skipLibCheck --declaration --lib ES6"
},
"files": [
"lib",

View File

@ -12,7 +12,7 @@
"sideEffects": false,
"license": "MIT",
"scripts": {
"build": "tsc src/*.ts --outDir lib --skipLibCheck --declaration"
"build": "tsc src/*.ts --outDir lib --skipLibCheck --declaration --lib ES6"
},
"files": [
"lib",

View File

@ -12,7 +12,7 @@
"sideEffects": false,
"license": "MIT",
"scripts": {
"build": "tsc src/*.ts --outDir lib --skipLibCheck --declaration"
"build": "tsc src/*.ts --outDir lib --skipLibCheck --declaration --lib ES6"
},
"files": [
"lib",