:= (dict "noComments" true "minified" true "config" "config/babel.module.config.js") -}}
  {{- $js = $js | js.Build $jsConfig | babel $babelConfig | fingerprint -}}
{{- else if eq (hugo.Environment) "development" -}}
  {{- $jsConfig = (dict "sourceMap" "inline" "target" "es2015" "params" $params) -}}
  {{- $js = $js | js.Build $jsConfig | fingerprint -}}
{{- else -}}
  {{- $js = $js | js.Build $jsConfig | fingerprint -}}
{{- end -}}

<script {{ with $load }}{{ . | safeHTMLAttr }}{{ end }}
  src="{{- $js.Rel