From 56ba2f4fa75c0abe45c231533b5d2edd9791a0ec Mon Sep 17 00:00:00 2001
From: Aaron Pham <contact@aarnphm.xyz>
Date: Fri, 01 Nov 2024 11:16:12 +0000
Subject: [PATCH] feat(build): add support for parsing inline sass (#1558)
---
quartz/components/renderPage.tsx | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/quartz/components/renderPage.tsx b/quartz/components/renderPage.tsx
index f2dccea..9c53096 100644
--- a/quartz/components/renderPage.tsx
+++ b/quartz/components/renderPage.tsx
@@ -29,7 +29,12 @@
const contentIndexScript = `const fetchData = fetch("${contentIndexPath}").then(data => data.json())`
return {
- css: [joinSegments(baseDir, "index.css"), ...staticResources.css],
+ css: [
+ {
+ content: joinSegments(baseDir, "index.css"),
+ },
+ ...staticResources.css,
+ ],
js: [
{
src: joinSegments(baseDir, "prescript.js"),
--
Gitblit v1.10.0