diff --git a/layouts/partials/head/link.html b/layouts/partials/head/link.html
index 335a59d..77ea31c 100644
--- a/layouts/partials/head/link.html
+++ b/layouts/partials/head/link.html
@@ -9,15 +9,9 @@
{{/* main style */}}
{{- if site.Params.bundled -}}
-
-
+ {{- $style := dict "Link" "/bundled/css/style.min.css" "Defer" true -}}
+ {{- partial "plugin/style.html" $style -}}
{{- else -}}
- {{- $style := dict "Source" "scss/style.scss" "Fingerprint" $fingerprint -}}
{{- $style := dict "Source" "scss/style.scss" "Fingerprint" $fingerprint -}}
{{- $options := dict "targetPath" "css/style.css" "enableSourceMap" true "includePaths" (slice "node_modules") -}}
{{- $style = dict "Context" . "ToCSS" $options "Minify" hugo.IsProduction "Defer" true | merge $style -}}
@@ -25,7 +19,8 @@
{{- end -}}
{{/* main js */}}
-
+{{- $script := dict "Link" "/bundled/js/main.js" "Defer" true "Esm" true -}}
+{{- partial "plugin/script.html" $script -}}
{{/* fonts */}}