fix build error
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
import { defineConfig } from "vite"
|
||||
import vue from "@vitejs/plugin-vue"
|
||||
import legacy from "@vitejs/plugin-legacy"
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks: {
|
||||
file: ["file-saver", "client-zip"],
|
||||
editor: [
|
||||
"vue-codemirror",
|
||||
"codemirror",
|
||||
@@ -16,5 +18,5 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [vue()],
|
||||
plugins: [vue(), legacy({ targets: ["chrome 66", "not IE 11"] })],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user