diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 243b1b3..671c6fc 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -35,8 +35,8 @@ -{{ $uiTheme := ((resources.Get "js/theme.js") | minify) }} - +{{ $uiTheme := (((resources.Get "js/theme.js") | minify) | resources.Fingerprint) }} + diff --git a/layouts/partials/ui.js.html b/layouts/partials/ui.js.html index 4a6993e..4d7371c 100644 --- a/layouts/partials/ui.js.html +++ b/layouts/partials/ui.js.html @@ -14,8 +14,9 @@ {{ $bundle := slice }} {{ range . }}{{ $bundle = (($bundle) | append (resources.Get .)) }}{{ end }} {{ $bundle = (($bundle) | resources.Concat "js/vendor.bundle.js") }} - {{ $bundle = (($bundle) | minify) }} - + {{ $bundle = ((($bundle) | minify) | resources.Fingerprint) }} + {{ end }} @@ -25,8 +26,9 @@ {{ range . }}{{ $bundle = (($bundle) | append (resources.Get .)) }}{{ end }} {{ $bundle = ((($bundle) | resources.Concat "js/system.bundle.js") | js.Build) }} {{ $bundle = (($bundle) | resources.ExecuteAsTemplate ("js/system.bundle.js" | relLangURL) .) }} - {{ $bundle = (($bundle) | minify) }} - + {{ $bundle = ((($bundle) | minify) | resources.Fingerprint) }} + {{ end }}