Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | templates: move static assets to the templates crate | Vika | 2022-10-07 | 1 | -0/+3 |
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. |