Skip to content

Commit

Permalink
update build config to reduce package size
Browse files Browse the repository at this point in the history
  • Loading branch information
phn210 committed Mar 25, 2024
1 parent c6d97a1 commit 212b5a6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"target": "es2020",
"module": "es2022",
"lib": ["dom", "esnext"],
"lib": ["esnext"],
"outDir": "./build/esm",
"rootDir": ".",
"strict": true,
Expand All @@ -17,7 +17,9 @@
"declaration": true,
"sourceMap": true,
"noFallthroughCasesInSwitch": true,
"allowSyntheticDefaultImports": true
"allowSyntheticDefaultImports": true,
"importHelpers": true,
"removeComments": true
},
"include": ["src/**/*.ts"]
}

0 comments on commit 212b5a6

Please sign in to comment.