mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: set target to chrome 65
This commit is contained in:
3 files changed
+5
-2
No files matched your search
@@ -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,
|
||||
|
||||
@@ -222,7 +222,7 @@ export default function (env: { watch?: boolean, production?: boolean, measure?:
|
||||
minifyIdentifiers: true,
|
||||
treeShaking: true,
|
||||
target: [
|
||||
'chrome60',
|
||||
'chrome65',
|
||||
],
|
||||
exclude: [/mathmaps/, /\.min\.js$/],
|
||||
})],
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user