From 7fdb5e6e93da511cec475e2e0dee613c44d0bc9b Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 28 Oct 2023 15:42:24 +1000 Subject: [PATCH] Expose reviewer css Closes #313 --- build_rust/src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build_rust/src/main.rs b/build_rust/src/main.rs index a1f5b228b..530252e76 100644 --- a/build_rust/src/main.rs +++ b/build_rust/src/main.rs @@ -62,6 +62,7 @@ fn build_web_artifacts() -> Result<()> { .args([ "extract:protoc", "ts:reviewer:reviewer_extras_bundle.js", + "ts:reviewer:reviewer_extras.css", "qt:aqt:data:web:pages", ]) .ensure_success()?; @@ -81,6 +82,10 @@ fn build_web_artifacts() -> Result<()> { "anki/out/ts/reviewer/reviewer_extras_bundle.js", artifacts_dir.join("web/reviewer_extras_bundle.js"), )?; + copy_file( + "anki/out/ts/reviewer/reviewer_extras.css", + artifacts_dir.join("web/reviewer_extras.css"), + )?; copy_file( "anki/cargo/licenses.json", artifacts_dir.join("web/licenses-cargo.json"),