From b8e53ffa33558cecfea0b8e0579c782723bbf505 Mon Sep 17 00:00:00 2001 From: James Stuckey Weber Date: Fri, 18 Apr 2025 11:24:30 -0400 Subject: [PATCH 1/2] Make relative css imports absolute to allow loading from blobs --- index.html | 42 ++++++++++++++++++++++++++++ public/import-has-import.css | 17 +++++++++++ public/import-is-imported-string.css | 3 ++ public/import-is-imported-url.css | 8 ++++++ src/parse.ts | 18 ++++++++++++ src/utils.ts | 26 +++++++++++++++-- 6 files changed, 112 insertions(+), 2 deletions(-) create mode 100644 public/import-has-import.css create mode 100644 public/import-is-imported-string.css create mode 100644 public/import-is-imported-url.css diff --git a/index.html b/index.html index 0d5f63f7..0bb62e19 100644 --- a/index.html +++ b/index.html @@ -45,6 +45,7 @@ +