Browse Source

Remove @vitejs/plugin-legacy

remotes/Saibamen/remove_@vitejs/plugin-legacy
Adam Stachowicz 4 years ago
parent
commit
56b6818d22
  1. 1
      package.json
  2. 5
      vite.config.js

1
package.json

@ -44,7 +44,6 @@
"vue-toastification": "^2.0.0-rc.1"
},
"devDependencies": {
"@vitejs/plugin-legacy": "^1.4.4",
"@vitejs/plugin-vue": "^1.2.5",
"@vue/compiler-sfc": "^3.1.5",
"core-js": "^3.15.2",

5
vite.config.js

@ -1,14 +1,9 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import legacy from '@vitejs/plugin-legacy'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
legacy({
targets: ['ie > 11'],
additionalLegacyPolyfills: ['regenerator-runtime/runtime']
})
]
})

Loading…
Cancel
Save