Skip to content

Commit

Permalink
fix: remove purgecss integration as it breaks CSS loading
Browse files Browse the repository at this point in the history
  • Loading branch information
LyonSyonII committed Oct 5, 2024
1 parent be7d7ae commit 389dc0e
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions frontend/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import starlight from "@astrojs/starlight";
import compress from "astro-compress";
import compressor from "astro-compressor";
import purgecss from "astro-purgecss";
import robotsTxt from "astro-robots-txt";
import { defineConfig, sharpImageService } from "astro/config";
import { MagicRegExpTransformPlugin } from "magic-regexp/transform";
Expand Down Expand Up @@ -50,19 +49,8 @@ export default defineConfig({
*/
},
}),
// TODO: Does not work at the moment
// https://github.com/alextim/astro-lib/tree/main/packages/astro-webmanifest
/* webmanifest({
name: "Rust Quest",
icon: "src/assets/ferris.svg",
short_name: "Rust Quest",
description: "Learn programming in a new way!",
start_url: "/",
display: "standalone"
}), */
compress(),
robotsTxt(),
purgecss(),
compress(),
compressor(),
],
image: {
Expand Down

0 comments on commit 389dc0e

Please sign in to comment.