Sfoglia il codice sorgente

Fixes emit change to only be for webviews

`useDefineForClassFields = false` is apparently required for Lit
main
Eric Amodio 2 anni fa
parent
commit
8f70886298
2 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. +2
    -1
      src/webviews/apps/tsconfig.json
  2. +1
    -1
      tsconfig.base.json

+ 2
- 1
src/webviews/apps/tsconfig.json Vedi File

@ -2,7 +2,8 @@
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"lib": ["dom", "dom.iterable", "es2020"],
"outDir": "../../"
"outDir": "../../",
"useDefineForClassFields": false
},
"include": [
"**/*",

+ 1
- 1
tsconfig.base.json Vedi File

@ -20,7 +20,7 @@
"sourceMap": true,
"strict": true,
"target": "es2020",
"useDefineForClassFields": false,
"useDefineForClassFields": true,
"useUnknownInCatchVariables": false
},
"include": ["src/**/*"]

Caricamento…
Annulla
Salva