flake rework

This commit is contained in:
Robin Appelman 2024-11-21 15:03:38 +01:00
commit 8f9eeadb74
20 changed files with 256 additions and 382 deletions

View file

@ -11,11 +11,7 @@ use std::path::Path;
pub fn bundle_style(style: &str) -> Vec<u8> {
// todo build time?
let fs = FileProvider::new();
let mut bundler = Bundler::new(
&fs,
None,
ParserOptions::default(),
);
let mut bundler = Bundler::new(&fs, None, ParserOptions::default());
let mut stylesheet = bundler
.bundle(Path::new(style))
.expect("failed to bundle css");