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

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

Open
devhardiyanto opened this issue Dec 6, 2023 · 0 comments
Open

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

devhardiyanto opened this issue Dec 6, 2023 · 0 comments

Comments

@devhardiyanto
Copy link

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

@devhardiyanto devhardiyanto changed the title libsass.html postCSS build not complete ke result main.css libsass.html postCSS build not complete result main.css Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant