mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +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,
|
outdir: tmp,
|
||||||
splitting: false,
|
splitting: false,
|
||||||
write: false,
|
write: false,
|
||||||
target: ['chrome60'],
|
target: ['chrome65'],
|
||||||
plugins: [
|
plugins: [
|
||||||
...(global.Hydro.ui.esbuildPlugins || []),
|
...(global.Hydro.ui.esbuildPlugins || []),
|
||||||
federationPlugin,
|
federationPlugin,
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ export default function (env: { watch?: boolean, production?: boolean, measure?:
|
|||||||
minifyIdentifiers: true,
|
minifyIdentifiers: true,
|
||||||
treeShaking: true,
|
treeShaking: true,
|
||||||
target: [
|
target: [
|
||||||
'chrome60',
|
'chrome65',
|
||||||
],
|
],
|
||||||
exclude: [/mathmaps/, /\.min\.js$/],
|
exclude: [/mathmaps/, /\.min\.js$/],
|
||||||
})],
|
})],
|
||||||
|
|||||||
@@ -32,6 +32,9 @@ async function runWebpack({
|
|||||||
target: 'http://localhost:2333',
|
target: 'http://localhost:2333',
|
||||||
ws: true,
|
ws: true,
|
||||||
},
|
},
|
||||||
|
client: {
|
||||||
|
webSocketURL: 'auto://0.0.0.0:0/ws',
|
||||||
|
},
|
||||||
}, compiler);
|
}, compiler);
|
||||||
server.start();
|
server.start();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in new issue
Block a user