fix: remove useless print
This commit is contained in:
parent
95fb2e093e
commit
3fe5c4477b
3
build.rs
3
build.rs
@ -6,6 +6,7 @@ use std::path::Path;
|
||||
use lightningcss::printer::PrinterOptions;
|
||||
use lightningcss::stylesheet::{self, ParserOptions, StyleSheet};
|
||||
|
||||
|
||||
fn main() -> Result<(), Box<dyn Error>> {
|
||||
let scss_path = Path::new("styles/global.scss");
|
||||
let css_output_path = Path::new("public/styles/global.css");
|
||||
@ -23,8 +24,6 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
..PrinterOptions::default()
|
||||
}).unwrap();
|
||||
|
||||
println!("{}",minified_css.code);
|
||||
|
||||
let mut output_file = File::create(css_output_path)?;
|
||||
output_file.write_all(minified_css.code.as_bytes())?;
|
||||
|
||||
|
Reference in New Issue
Block a user