ui: set target to chrome 65

pull/550/merge
undefined 11 months ago
parent d5388d91c8
commit 3cbe0e6de1
No known key found for this signature in database

@ -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;

Loading…
Cancel
Save