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:
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: