tensorlakeai / indexify

A realtime serving engine for Data-Intensive Generative AI Applications
https://docs.getindexify.ai
Apache License 2.0
862 stars 99 forks source link

ui: move UI to its own crate #692

Closed grampelberg closed 3 months ago

grampelberg commented 3 months ago

While build.rs allows conditional compilation, it requires that it is crate-wide. By moving the UI's embed into its own crate, npm run build will only be called when files change in the ui directory.

Note: also removed npm ci from the crate build itself. That's useful but because you get zero feedback it is ~impossible to diagnose from cargo itself. Leaving npm ci as something that is run during the UI development process separately.

Fixes #691

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
indexify ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2024 3:43am