Skip to content
Discussion options

You must be logged in to vote

I took another swing at troubleshooting this and found a solution for the main issue. As mentioned in my previous comment, I'm a bit surprised to not see more discussions/issues about this since it happens in the default configuration of the template.

In postcss.config.js there's a line that looks like this: const purgecss = require('@fullhuman/postcss-purgecss');. I changed it to const purgecss = require('@fullhuman/postcss-purgecss').default;, and now npm run build works without errors.

Should the template be updated with this change?

I've also noticed the reason why none of the internal links worked when I ran npm run preview. They all pointed to http://localhost:1313/, which is the ad…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@Backspaze
Comment options

@Backspaze
Comment options

Answer selected by Backspaze
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@h-enk
Comment options

h-enk Aug 4, 2025
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants