This commit is contained in:
Julian Freeman
2026-04-19 09:14:26 -04:00
parent e256e596c5
commit f9a4c0e64a
6 changed files with 179 additions and 96 deletions

View File

@@ -7,6 +7,21 @@ const host = process.env.TAURI_DEV_HOST;
// https://vite.dev/config/
export default defineConfig(async () => ({
plugins: [vue()],
build: {
rollupOptions: {
output: {
manualChunks: {
codemirror: [
'vue-codemirror',
'@codemirror/lang-json',
'@codemirror/theme-one-dark',
'@codemirror/view',
],
vue: ['vue', 'pinia'],
},
},
},
},
// Vite options tailored for Tauri development and only applied in `tauri dev` or `tauri build`
//