ESLint `vite.config.js`
This commit is contained in:
parent
46c7e5d058
commit
519add4fab
|
@ -1,14 +1,14 @@
|
||||||
import { defineConfig } from 'vite'
|
import legacy from "@vitejs/plugin-legacy"
|
||||||
import vue from '@vitejs/plugin-vue'
|
import vue from "@vitejs/plugin-vue"
|
||||||
import legacy from '@vitejs/plugin-legacy'
|
import { defineConfig } from "vite"
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
legacy({
|
legacy({
|
||||||
targets: ['ie > 11'],
|
targets: ["ie > 11"],
|
||||||
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
|
additionalLegacyPolyfills: ["regenerator-runtime/runtime"]
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue