diff --git a/layouts/partials/resource_builders/script.html b/layouts/partials/resource_builders/script.html index 7ceaaf4..2a74c3b 100644 --- a/layouts/partials/resource_builders/script.html +++ b/layouts/partials/resource_builders/script.html @@ -17,7 +17,7 @@ looked up and built. {{- $resource := .resource -}} {{- $shouldMinify := .minify -}} -{{- $isModule := .module -}} +{{- $isModule := .module | default false -}} {{ if eq (printf "%T" $resource) "string" }} {{