Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] CSS purge of example site fails #799

Open
markdumay opened this issue Feb 24, 2024 · 2 comments
Open

[BUG] CSS purge of example site fails #799

markdumay opened this issue Feb 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@markdumay
Copy link
Collaborator

markdumay commented Feb 24, 2024

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 #786 and #769. @deining, maybe you have some additional thoughts?

@markdumay markdumay added the bug Something isn't working label Feb 24, 2024
@deining
Copy link
Contributor

deining commented Feb 24, 2024

@deining, maybe you have some additional thoughts?

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

@markdumay
Copy link
Collaborator Author

FYI - I also raised issue gohugoio/hugo#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants