about summary refs log tree commit diff
path: root/kittybox-rs/templates/build.rs
Commit message (Collapse)AuthorAgeFilesLines
* templates: move static assets to the templates crateVika2022-10-071-0/+26
It makes more sense to keep CSS near the templates, and the client-side JavaScript code too, since it depends on the DOM structure to work. Additionally, the overhead of `include_dir!()` is almost completely mitigated by the fact that this is a separate crate that isn't recompiled often. The linking stage, however, is still expected to take a little bit long. But I doubt it'd be longer than what it was before, since it's the same exact files that get linked into the app.