Skip to content

Build your personal knowledge base with Trilium Notes

chore(client): bypass issue with plugins

Elian Doran025dc1ce7571
diff --git a/apps/client/vite.config.mts b/apps/client/vite.config.mts
index 91769d49c5..c9578d1d37 100644
--- a/apps/client/vite.config.mts
+++ b/apps/client/vite.config.mts
@@ -36,7 +36,7 @@ export default defineConfig(() => ({
]
}),
webpackStatsPlugin()
- ],
+ ] as any, // bypass typescript issues with viteStaticCopy
resolve: {
alias: [
// Force the use of dist in development mode because upstream ESM is broken (some hybrid between CJS and ESM, will be improved in upcoming versions).