mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
workspace: use esnext set operations
This commit is contained in:
12 files changed
+28
-43
No files matched your search
+3
-3
@@ -16,7 +16,7 @@ const withoutTypes = (data) => ({
|
||||
/** @type {import('typescript/lib/typescript').CompilerOptions} */
|
||||
const compilerOptionsBase = {
|
||||
target: 'es2022',
|
||||
lib: ['es2022'],
|
||||
lib: ['esnext'],
|
||||
module: 'preserve',
|
||||
esModuleInterop: true,
|
||||
moduleResolution: 'bundler',
|
||||
@@ -106,7 +106,7 @@ const UIConfig = {
|
||||
outDir: path.join(baseOutDir, 'ui'),
|
||||
|
||||
useDefineForClassFields: true,
|
||||
lib: ['es2022', 'DOM', 'DOM.Iterable'],
|
||||
lib: ['esnext', 'DOM', 'DOM.Iterable'],
|
||||
|
||||
/* Bundler mode */
|
||||
moduleResolution: 'bundler',
|
||||
@@ -143,7 +143,7 @@ const UINextConfig = {
|
||||
noImplicitAny: false,
|
||||
|
||||
useDefineForClassFields: true,
|
||||
lib: ['es2022', 'DOM', 'DOM.Iterable'],
|
||||
lib: ['esnext', 'DOM', 'DOM.Iterable'],
|
||||
|
||||
/* Bundler mode */
|
||||
moduleResolution: 'bundler',
|
||||
|
||||
Reference in new issue
Block a user