hinode icon indicating copy to clipboard operation
hinode copied to clipboard

[BUG] CSS purge of example site fails

Open markdumay opened this issue 1 year ago • 2 comments
trafficstars

Describe the bug

The CSS purge of the Hinode example site no longer seems to work.

To reproduce

  1. Clone the Hinode repo with git clone https://github.com/gethinode/hinode.git
  2. Set purge = true in exampleSite/config/_default/params.toml
  3. Install npm packages with npm i
  4. Run the site with npm run start:example
  5. Validate the site in a local browser, clearing the cache if needed

Host environment

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?

markdumay avatar Feb 24 '24 07:02 markdumay

@deining, maybe you have some additional thoughts?

Yes, I do. Let me investigate this. Coming back to you soon.

deining avatar Feb 24 '24 09:02 deining

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.

markdumay avatar Feb 24 '24 09:02 markdumay