Rust library to generate static websites
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: Use name of original CSS file for Tailwind-generated styles

+2 -1
+2 -1
crates/framework/src/assets.rs
··· 194 194 fn process(&self, _: &Path, tmp_dir: &Path) -> Option<String> { 195 195 // TODO: Detect tailwind automatically 196 196 if self.tailwind { 197 - let tmp_path = tmp_dir.join("tailwind.css"); 197 + let file_name = self.path.file_name().unwrap().to_str().unwrap(); 198 + let tmp_path = tmp_dir.join(file_name); 198 199 let tmp_path_str = tmp_path.to_str().unwrap().to_string(); 199 200 200 201 let start_tailwind = SystemTime::now();