Open jChapman opened 1 year ago
Like you, I installed html-minifier-terser
separately and it seems to work on macOS.
This plugin does only seem to work for single pages only i.e. a website with a nested route will not inline the CSS correctly. Astro intend to support inlining CSS natively: https://github.com/withastro/roadmap/issues/556
After running
astro add astro-single-file
and attempting to run dev or build I get the following error (missing dependency?)Did it from scratch on stack blitz and ran into the same issue, here's the full log of what I ran (also double checked that the astro config file did get updated)