Skip to content

Commit

Permalink
Update scripts.html
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Mar 18, 2024
1 parent 3206c49 commit 712922b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion site/layouts/partials/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
{{- end -}}

{{ if eq .Page.Layout "docs" -}}
{{- $snippetsFile := resources.Get "js/snippets.js" | js.Build $esbuildOptions -}}
{{- /* Disable minify options for snippets.js so that the file's readable on StackBlitz */ -}}
{{- $snippetsFile := resources.Get "js/snippets.js" | js.Build (merge $esbuildOptions (dict "minify" "false")) -}}
{{- $esbuildParams := dict
"cssCdn" .Site.Params.cdn.css
"jsBundleCdn" .Site.Params.cdn.js_bundle
Expand Down

0 comments on commit 712922b

Please sign in to comment.