update
This commit is contained in:
@@ -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"] })],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user