hinode
hinode copied to clipboard
[BUG] CSS purge of example site fails
trafficstars
Describe the bug
The CSS purge of the Hinode example site no longer seems to work.
To reproduce
- Clone the Hinode repo with
git clone https://github.com/gethinode/hinode.git - Set
purge = trueinexampleSite/config/_default/params.toml - Install npm packages with
npm i - Run the site with
npm run start:example - Validate the site in a local browser, clearing the cache if needed
Host environment
- Hinode version:
HEAD, commit c099bfdb8f0726597cbfea1ba1801a48b76e6f55 - Host OS:
macOS Sonoma 14.2.1 - Node version:
20.10.0 - Browser:
Google Chrome Version 122.0.6261.69 (Official Build) (arm64)
Hugo environment
From npm run env:
hugo v0.122.0-b9a03bd59d5f71a529acb3e33f995e0ef332b3aa+extended darwin/arm64 BuildDate=2024-01-26T15:54:24Z VendorInfo=gohugoio
GOOS="darwin"
GOARCH="arm64"
GOVERSION="go1.21.6"
github.com/sass/libsass="3.6.5"
github.com/webmproject/libwebp="v1.3.2"
github.com/sass/dart-sass/protocol="2.5.0"
github.com/sass/dart-sass/compiler="1.71.1"
github.com/sass/dart-sass/implementation="1.71.1"
Additional context
The problem is likely related to PR https://github.com/gethinode/hinode/pull/786 and https://github.com/gethinode/hinode/pull/769. @deining, maybe you have some additional thoughts?
@deining, maybe you have some additional thoughts?
Yes, I do. Let me investigate this. Coming back to you soon.
FYI - I also raised issue https://github.com/gohugoio/hugo/issues/12137.
Not sure if related, but I'm careful to use the embedded npm hugo bin (v0.122.0) or the hugo binary installed with brew (v0.123.3) on my local machine.