generated from alecodes/base-template
fix: embedded templates path on build
This commit is contained in:
parent
56a9c7bd40
commit
8e1e366964
2 changed files with 2 additions and 2 deletions
2
build.rs
2
build.rs
|
|
@ -1,5 +1,5 @@
|
|||
fn main() {
|
||||
// only enable in production build
|
||||
#[cfg(not(debug_assertions))]
|
||||
minijinja_embed::embed_templates!("templates");
|
||||
minijinja_embed::embed_templates!("dist");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue