File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ Vite 忽略 `tsconfig.json` 中的 `target` 值,遵循与 `esbuild` 相同的
9191
9292要在开发中指定目标,可使用 [ ` esbuild.target ` ] ( /config/shared-options.html#esbuild ) 选项,默认值为 ` esnext ` ,以实现最小的转译。在构建中,[ ` build.target ` ] ( /config/build-options.html#build-target ) 选项优先于 ` esbuild.target ` ,如有需要也可以进行设置。
9393
94+ <<<<<<< HEAD
9495::: warning ` useDefineForClassFields `
9596
9697如果 ` target ` 不是 ` ESNext ` 或 ` ES2022 ` 或更新版本,或者没有 ` tsconfig.json ` 文件,` useDefineForClassFields ` 将默认为 ` false ` ,这可能会导致默认的 ` esbuild.target ` 值为 ` esnext ` 的问题。它可能会转译为 [ static initialization blocks] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Static_initialization_blocks#browser_compatibility ) ,这在你的浏览器中可能不被支持。
@@ -99,6 +100,9 @@ Vite 忽略 `tsconfig.json` 中的 `target` 值,遵循与 `esbuild` 相同的
99100:::
100101
101102#### ` emitDecoratorMetadata ` {#emitDecoratorMetadata}
103+ =======
104+ #### ` emitDecoratorMetadata `
105+ >>>>>>> 561eafdc9c1741f9c6e3f8d93c6af7200638ff6b
102106
103107- [ TypeScript 文档] ( https://www.typescriptlang.org/tsconfig#emitDecoratorMetadata )
104108
You can’t perform that action at this time.
0 commit comments