ui: webpack: upgrade build target

This commit is contained in:
undefined committed 2025-02-05 08:01:01 +08:00
1 parent e036a0dee1
commit a606233c05
12 files changed
+36 -36

No files matched your search

+2 -2
View File
@@ -46,7 +46,7 @@ export default async function (env: { watch?: boolean, production?: boolean, mea
loader: 'esbuild-loader',
options: {
loader: 'tsx',
target: 'es6',
target: ['es2020', 'chrome70', 'firefox90', 'safari16'],
sourcemap: true,
},
};
@@ -252,7 +252,7 @@ export default async function (env: { watch?: boolean, production?: boolean, mea
minifyIdentifiers: true,
treeShaking: true,
target: [
'chrome65',
'chrome70',
],
exclude: [/mathmaps/, /\.min\.js$/],
})],