mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: set target to chrome60
This commit is contained in:
1 parent
b51620d634
commit
0d49c4d399
5 files changed
+17
-12
No files matched your search
@@ -19,7 +19,7 @@ export default function (env: { watch?: boolean, production?: boolean, measure?:
|
||||
loader: 'esbuild-loader',
|
||||
options: {
|
||||
loader: 'tsx',
|
||||
target: 'chrome80',
|
||||
target: 'chrome60',
|
||||
sourcemap: true,
|
||||
},
|
||||
};
|
||||
@@ -221,7 +221,7 @@ export default function (env: { watch?: boolean, production?: boolean, measure?:
|
||||
minifyIdentifiers: true,
|
||||
treeShaking: true,
|
||||
target: [
|
||||
'chrome80',
|
||||
'chrome60',
|
||||
],
|
||||
exclude: [/mathmaps/, /\.min\.js$/],
|
||||
})],
|
||||
|
||||
Reference in new issue
Block a user