Skip to content

Build your personal knowledge base with Trilium Notes

chore(client): build dependencies before serving

Elian Doran83c136174ee7
diff --git a/apps/client/package.json b/apps/client/package.json
index 740835c75b..0b33bdacd9 100644
--- a/apps/client/package.json
+++ b/apps/client/package.json
@@ -72,6 +72,11 @@
"vite-plugin-static-copy": "3.0.0"
},
"nx": {
- "name": "client"
+ "name": "client",
+ "targets": {
+ "serve": {
+ "dependsOn": ["^build"]
+ }
+ }
}
}
\ No newline at end of file