{{- $opts := dict "minify" hugo.IsProduction -}}
{{- $replay := resources.Get "js/comment.min.js" | js.Build $opts -}}
{{- $app := resources.Get "ts/app.ts" | js.Build $opts -}}
{{ $ts := slice $replay $app | resources.Concat "ts/bundle.js" }}
{{ range .Site.Params.customJS }}
{{ if ( or ( hasPrefix . "http://" ) ( hasPrefix . "https://" ) ) }}
{{ else }}
{{ end }}
{{ end }}