Skip to content

Commit 13e521d

Browse files
committed
Update dependencies (astro v7)
1 parent 8043474 commit 13e521d

9 files changed

Lines changed: 1625 additions & 1318 deletions

File tree

astro.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ export default defineConfig({
5353
),
5454

5555
compress({
56-
CSS: true,
56+
// csso off on purpose: its parser doesn't understand the media range
57+
// syntax Tailwind v4 emits for breakpoints (`@media (width>=48rem)`) and
58+
// silently drops every one of those blocks — the site then renders as if
59+
// all `md:`/`lg:` classes were missing. lightningcss parses it correctly.
60+
CSS: { csso: false, lightningcss: { minify: true } },
5761
HTML: {
5862
'html-minifier-terser': {
5963
removeAttributeQuotes: false,

0 commit comments

Comments
 (0)