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" -}}
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