Skip to content

Commit

Permalink
Update scripts.html
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Mar 11, 2024
1 parent 3f9deef commit 7ba6390
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/partials/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
{{- $esbuildOptions = merge $esbuildOptions (dict "minify" "true") -}}
{{- end -}}

{{- $lazyload := resources.Get "js/lazyload.js" | js.Build $esbuildOptions | resources.Copy "/assets/js/lazyload.js" -}}
{{- $application := resources.Get "js/application.js" | js.Build $esbuildOptions | resources.Copy "/assets/js/application.js" -}}
{{- $lazyload := resources.Get "js/lazyload.js" | js.Build $esbuildOptions | fingerprint | resources.Copy "/assets/js/lazyload.js" -}}
{{- $application := resources.Get "js/application.js" | js.Build $esbuildOptions | fingerprint | resources.Copy "/assets/js/application.js" -}}

<script async src="{{ $lazyload.Permalink | relURL }}"></script>
<script async src="{{ $application.Permalink | relURL }}"></script>
Expand Down

0 comments on commit 7ba6390

Please sign in to comment.