Skip to content

Build your personal knowledge base with Trilium Notes

chore(client): prebundle Excel.js

Elian Doranb24e04fa0e33
diff --git a/apps/client/vite.config.mts b/apps/client/vite.config.mts
index 39022fd7b4..202f836494 100644
--- a/apps/client/vite.config.mts
+++ b/apps/client/vite.config.mts
@@ -79,7 +79,11 @@ export default defineConfig(() => ({
include: [
"ckeditor5-premium-features",
"ckeditor5",
- "mathlive"
+ "mathlive",
+ // Pre-bundle so the first spreadsheet XLSX export (which dynamically imports
+ // exceljs) doesn't trigger an on-demand re-optimization + dev-server reload
+ // that aborts the export.
+ "exceljs"
]
},
build: {