mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-06-03 10:14:13 +02:00
flake rework
This commit is contained in:
parent
cb7657116c
commit
8f9eeadb74
20 changed files with 256 additions and 382 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue