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