ui: set target to chrome 65

This commit is contained in:
undefined committed 2023-11-07 22:34:01 +08:00
1 parent d5388d91c8
commit 3cbe0e6de1
3 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ const build = async (contents: string) => {
outdir: tmp,
splitting: false,
write: false,
target: ['chrome60'],
target: ['chrome65'],
plugins: [
...(global.Hydro.ui.esbuildPlugins || []),
federationPlugin,
+1 -1
View File
@@ -222,7 +222,7 @@ export default function (env: { watch?: boolean, production?: boolean, measure?:
minifyIdentifiers: true,
treeShaking: true,
target: [
'chrome60',
'chrome65',
],
exclude: [/mathmaps/, /\.min\.js$/],
})],
+3
View File
@@ -32,6 +32,9 @@ async function runWebpack({
target: 'http://localhost:2333',
ws: true,
},
client: {
webSocketURL: 'auto://0.0.0.0:0/ws',
},
}, compiler);
server.start();
return;