瀏覽代碼

Fixes emit change to only be for webviews

`useDefineForClassFields = false` is apparently required for Lit
main
Eric Amodio 2 年之前
父節點
當前提交
8f70886298
共有 2 個檔案被更改,包括 3 行新增2 行删除
  1. +2
    -1
      src/webviews/apps/tsconfig.json
  2. +1
    -1
      tsconfig.base.json

+ 2
- 1
src/webviews/apps/tsconfig.json 查看文件

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

+ 1
- 1
tsconfig.base.json 查看文件

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

Loading…
取消
儲存