mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: webpack: upgrade build target
This commit is contained in:
12 files changed
+36
-36
No files matched your search
@@ -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$/],
|
||||
})],
|
||||
|
||||
Reference in new issue
Block a user