This commit is contained in:
2024-01-21 21:41:31 +08:00
parent 0ea4c14732
commit d940c684ad
6 changed files with 56 additions and 16 deletions

View File

@@ -3,5 +3,19 @@ import vue from "@vitejs/plugin-vue"
import legacy from "@vitejs/plugin-legacy"
export default defineConfig({
build: {
rollupOptions: {
output: {
manualChunks: {
editor: [
"vue-codemirror",
"codemirror",
"@codemirror/lang-cpp",
"@codemirror/lang-python",
],
},
},
},
},
plugins: [vue(), legacy({ targets: ["chrome 66", "not IE 11"] })],
})