ESLint `vite.config.js`

This commit is contained in:
Adam Stachowicz 2021-08-08 18:24:05 +02:00
parent 46c7e5d058
commit 519add4fab
1 changed files with 10 additions and 10 deletions

View File

@ -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"]
}) })
] ]
}) })