Skip to content

Commit

Permalink
Enable preserveConstEnums for tsc (#416)
Browse files Browse the repository at this point in the history
Co-authored-by: lauckhart <[email protected]>
Co-authored-by: Ingo Fischer <[email protected]>
  • Loading branch information
3 people authored Oct 19, 2023
1 parent 475b78d commit 15d8948
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
// Do not load globals from node_modules by default
"types": [],

// Preserve const enums with tsc (esbuild does this by default)
"preserveConstEnums": true,

// Emit source/declaration maps to align the behavior of esbuild setup.
"sourceMap": true,
"declarationMap": true,
Expand Down

0 comments on commit 15d8948

Please sign in to comment.