From 3230e2bc2e53eb00e66e77bf6568b591757d220b Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Tue, 28 Feb 2023 14:38:40 +0000
Subject: [PATCH] inline essential js only

---
 layouts/partials/scripts/bundle.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/partials/scripts/bundle.html b/layouts/partials/scripts/bundle.html
index ef15f36..05a955e 100644
--- a/layouts/partials/scripts/bundle.html
+++ b/layouts/partials/scripts/bundle.html
@@ -11,7 +11,7 @@
 {{- end }}
 {{- $custom := resources.Get $customScriptPath | resources.ExecuteAsTemplate $customScriptPath . }}
 
-{{- partial "scripts/getJsBundle" (dict "scripts" (slice $variables $functions $code $mode $main $custom) "slug" "bundle") }}
+{{- partial "scripts/getJsBundle" (dict "scripts" (slice $variables $functions $code $mode $main $custom) "slug" "bundle" "inline" true) }}
 
 {{- partialCached "scripts/search" . -}}
 {{- partialCached "hooks/scripts" . -}}

--
Gitblit v1.10.0