From 75960457573de7d7a714f6fa81d5622091d3f6ba Mon Sep 17 00:00:00 2001 From: Djordje Atlialp Date: Sat, 30 Mar 2019 19:45:07 +0100 Subject: [PATCH] Minify js --- layouts/partials/javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/javascript.html b/layouts/partials/javascript.html index 6d0d7e5..1491bc3 100644 --- a/layouts/partials/javascript.html +++ b/layouts/partials/javascript.html @@ -2,7 +2,7 @@ {{ $menu := resources.Get "js/menu.js" }} {{ $prism := resources.Get "js/prism.js" }} {{ $theme := resources.Get "js/theme.js" }} -{{ $js := slice $main $menu $prism $theme | resources.Concat "js/bundle.js" }} +{{ $js := slice $main $menu $prism $theme | resources.Concat "js/bundle.js" | resources.Minify }} {{ $secureJS := $js | resources.Fingerprint "sha512" }}