✨ [bootsier] Añade componente Navbar
This commit is contained in:
parent
2f41f166f3
commit
749e182619
14 changed files with 615 additions and 387 deletions
|
|
@ -13,7 +13,8 @@ fn main() -> std::io::Result<()> {
|
|||
}
|
||||
|
||||
fn bootstrap_js_files(path: &Path) -> bool {
|
||||
let bootstrap_js = "bootstrap.bundle.min.js";
|
||||
// No filtra durante el desarrollo, solo en la compilación "release".
|
||||
env::var("PROFILE").unwrap_or_else(|_| "release".to_string()) != "release"
|
||||
|| path.file_name().is_some_and(|n| n == "bootstrap.min.js")
|
||||
|| path.file_name().is_some_and(|f| f == bootstrap_js)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue