Browse Source

Drops target to es2021 to avoid field init bugs

https://github.com/microsoft/TypeScript/issues/52331
main
Eric Amodio 1 year ago
parent
commit
8a503a35d8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      webpack.config.js

+ 1
- 1
webpack.config.js View File

@ -203,7 +203,7 @@ function getExtensionConfig(target, mode, env) {
loader: 'esbuild-loader',
options: {
implementation: esbuild,
target: ['es2022', 'chrome102', 'node16.14.2'],
target: ['es2021', 'chrome102', 'node16.14.2'],
tsconfig: path.join(
__dirname,
target === 'webworker' ? 'tsconfig.browser.json' : 'tsconfig.json',

Loading…
Cancel
Save