2021-06-24 14:42:03 +01:00
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
import vue from '@vitejs/plugin-vue'
|
2021-07-09 07:14:03 +01:00
|
|
|
import legacy from '@vitejs/plugin-legacy'
|
2021-06-24 14:42:03 +01:00
|
|
|
|
|
|
|
// https://vitejs.dev/config/
|
|
|
|
export default defineConfig({
|
2021-07-09 07:14:03 +01:00
|
|
|
plugins: [
|
|
|
|
vue(),
|
|
|
|
legacy({
|
2021-07-13 11:34:09 +01:00
|
|
|
targets: ['ie > 11'],
|
2021-07-09 07:14:03 +01:00
|
|
|
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
|
|
|
|
})
|
|
|
|
]
|
2021-06-24 14:42:03 +01:00
|
|
|
})
|