Skip to content

Commit

Permalink
feat(mwp-web): compress css
Browse files Browse the repository at this point in the history
  • Loading branch information
matoous committed Apr 8, 2024
1 parent a6731b5 commit 85caf31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mwp-web/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fn main() -> Result<(), Box<grass::Error>> {
println!("cargo:rerun-if-changed=src/static/style.scss");
let css = grass::from_string(
include_str!("src/static/styles.scss"),
&grass::Options::default(),
&grass::Options::default().style(grass::OutputStyle::Compressed),
)?;
let css_out = static_files.join("styles.css");
let mut file = File::create(css_out)?;
Expand Down

0 comments on commit 85caf31

Please sign in to comment.