We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to use a theme (https://github.com/google/docsy) but I don't want to install any NodeJS garbage on my host machine.
As a workaround, I created a Dockerfile, wrapped script and rebuilt hugo
FROM node:20-alpine WORKDIR /usr/src/app RUN npm install -g postcss postcss-cli autoprefixer CMD [""]
docker build -t postcss .
❯ cat postcss
#!/bin/bash docker run --rm -i postcss postcss "$@"
Rebuild Hugo with a changed next-line because Npx function adding the npx prefix that I don't need.
Npx
hugo/resources/resource_transformers/postcss/postcss.go
Line 203 in ee26e69
ex.New(binaryName, cmdArgs...)
It'd be nice to have a configurable binary path to the postcss to make it possible to call without npx prefix.
postcss
The text was updated successfully, but these errors were encountered:
I'm experiencing a similar drawback when working from within this dev container.
{ "name": "Build environment", "image": "mcr.microsoft.com/devcontainers/base:bullseye", "features": { "ghcr.io/devcontainers/features/git:1": {}, "ghcr.io/devcontainers/features/go:1": {}, "ghcr.io/devcontainers/features/hugo:1": { "extended": true }, "ghcr.io/devcontainers/features/node:1": {} } }
postCSS filters are not applied and main.scss does not build a main.css file.
postCSS
main.scss
main.css
Sorry, something went wrong.
No branches or pull requests
I want to use a theme (https://github.com/google/docsy) but I don't want to install any NodeJS garbage on my host machine.
As a workaround, I created a Dockerfile, wrapped script and rebuilt hugo
docker build -t postcss .
❯ cat postcss
Rebuild Hugo with a changed next-line because
Npx
function adding the npx prefix that I don't need.hugo/resources/resource_transformers/postcss/postcss.go
Line 203 in ee26e69
=>
It'd be nice to have a configurable binary path to the
postcss
to make it possible to call without npx prefix.The text was updated successfully, but these errors were encountered: