{{- $mainScriptPath := "js/redzuurdesem.js" }}
{{- $scripts := "" }}
{{- if (ne hugo.Environment "development") }}
{{- $scripts = resources.Get $mainScriptPath | resources.ExecuteAsTemplate $mainScriptPath . | babel | resources.Minify | resources.Fingerprint "sha512" }}
{{- else }}
{{- $scripts = resources.Get $mainScriptPath | resources.ExecuteAsTemplate $mainScriptPath . }}
{{- end }}