2 changed files with 0 additions and 6 deletions
@ -1,14 +1,9 @@ |
|||||
import { defineConfig } from 'vite' |
import { defineConfig } from 'vite' |
||||
import vue from '@vitejs/plugin-vue' |
import vue from '@vitejs/plugin-vue' |
||||
import legacy from '@vitejs/plugin-legacy' |
|
||||
|
|
||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||
export default defineConfig({ |
export default defineConfig({ |
||||
plugins: [ |
plugins: [ |
||||
vue(), |
vue(), |
||||
legacy({ |
|
||||
targets: ['ie > 11'], |
|
||||
additionalLegacyPolyfills: ['regenerator-runtime/runtime'] |
|
||||
}) |
|
||||
] |
] |
||||
}) |
}) |
||||
|
Loading…
Reference in new issue