diff --git a/astro.config.mjs b/astro.config.mjs index 50295e691..7df895fb1 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -8,6 +8,15 @@ import expressiveCode from "astro-expressive-code"; // https://astro.build/config export default defineConfig({ site: "https://realfiction.net", + vite: { + css: { + preprocessorOptions: { + scss: { + api: 'modern-compiler' // or "modern" + } + } + } + }, integrations: [ expressiveCode({ themes: ["dracula"] }), mdx({ diff --git a/src/components/Date.astro b/src/components/Date.astro index 280b5e466..510d2a952 100644 --- a/src/components/Date.astro +++ b/src/components/Date.astro @@ -14,7 +14,7 @@ const [date, month, year] = [ --- diff --git a/src/pages/about.astro b/src/pages/about.astro index 7b30d4c77..28b7ca96f 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -4,13 +4,13 @@ import Info from "../components/mdx/Info.astro"; ---