修改兼容性
parent
2f7140e688
commit
0eca877365
|
|
@ -8,8 +8,10 @@ export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
react(),
|
react(),
|
||||||
legacy({
|
legacy({
|
||||||
targets: ['defaults', 'not IE 11'],
|
targets: ['chrome >= 64', 'safari >= 11', 'ios >= 11', 'android >= 9'],
|
||||||
}),
|
additionalLegacyPolyfills: ['regenerator-runtime/runtime'],
|
||||||
|
modernPolyfills: true,
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue