Skip to content

Commit

Permalink
dev(compiler): implement add_web_fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed May 18, 2023
1 parent 27f3f9d commit 2dac81b
Show file tree
Hide file tree
Showing 4 changed files with 366 additions and 81 deletions.
3 changes: 2 additions & 1 deletion compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ codespan-reporting = "0.11"
parking_lot = "0.12.1"

serde_json = "1.0.96"
serde-wasm-bindgen = { version = "^0.5", optional = true }

hex = "0.4.3"
sha2 = "0.10.6"
Expand Down Expand Up @@ -50,6 +51,6 @@ serde_json = "1.0.95"
system = ["dep:memmap2", "dep:dirs", "dep:walkdir", "dep:same-file"]
__web = ["dep:wasm-bindgen", "dep:wasm-bindgen-futures", "dep:js-sys", "dep:web-sys", "dep:pollster"]
web-render = ["__web"]
browser-compile = ["__web", "web-render"]
browser-compile = ["__web", "web-render", "dep:serde-wasm-bindgen"]
web = ["__web", "web-render", "browser-compile"]
default = ["system"]
Loading

0 comments on commit 2dac81b

Please sign in to comment.