gethyas / doks

Everything you need to build a stellar documentation website. Fast, accessible, and easy to use.
https://getdoks.org
MIT License
1.99k stars 352 forks source link

libsass.html postCSS build not complete result main.css #1138

Open devhardiyanto opened 6 months ago

devhardiyanto commented 6 months ago

So, i was developed docs hugo with theme doks. But, there's something issue about this line script : {{ $css = resources.Get . | toCSS $options | postCSS (dict "config" "config/postcss.config.js") | resources.Fingerprint "sha512" -}}

somehow, on locally with webserver nginx quitely fine in build mode, but after i tried deploy into s3 the main.css not rendered on browser, i think cause is main.css was broken or not completed the build. so i override that line script, into this : {{ $css = resources.Get . | toCSS $options | minify | resources.Fingerprint "sha512" -}}

what do you think, guys?

Thank you. Regards,

Irfan Hardiyanto