-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
module github.com/gohugoio/hugo-mod-jslibs/turbo/v7 | ||
module github.com/gohugoio/hugo-mod-jslibs/turbo/v8 | ||
|
||
go 1.17 | ||
go 1.20 | ||
|
||
require github.com/bep/turbo/v7 v7.20300.20000 // indirect | ||
require ( | ||
github.com/bigskysoftware/idiomorph v0.3.0 // indirect | ||
github.com/hotwired/turbo v8.0.4+incompatible // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,4 @@ | ||
github.com/bep/turbo v0.0.0-20220913134225-9e6e0b9992f0 h1:eiYsjNInbhM9/TaqmIO9Yvz0q68zcQHblHz+IAlNyHA= | ||
github.com/bep/turbo v0.0.0-20220913134225-9e6e0b9992f0/go.mod h1:cP3jeD6JT0LTNRVRBdnX+az2AO54Ll4tAPENx79xJ4A= | ||
github.com/bep/turbo/v7 v7.0.0-20220913153645-98562c503dfe h1:PAu0ycvdlA4tfUdtfxQla1J/IrIykRFUvZRRidyukP0= | ||
github.com/bep/turbo/v7 v7.0.0-20220913153645-98562c503dfe/go.mod h1:CIoAv+QVJtkr+kXn2ZmfJ/V4r3TPLR6CNMGvWjWqdSc= | ||
github.com/bep/turbo/v7 v7.0.0-20220913155955-177360504ded h1:/TZH/L4QD4FOsm+uXMASOWiU7csZfEMpgf+TCeCpOec= | ||
github.com/bep/turbo/v7 v7.0.0-20220913155955-177360504ded/go.mod h1:CIoAv+QVJtkr+kXn2ZmfJ/V4r3TPLR6CNMGvWjWqdSc= | ||
github.com/bep/turbo/v7 v7.0.1-patch1 h1:2tMyUXhp/MGakNggqIfhc2cMEyMc2z9epZXzj9WdKwU= | ||
github.com/bep/turbo/v7 v7.0.1-patch1/go.mod h1:CIoAv+QVJtkr+kXn2ZmfJ/V4r3TPLR6CNMGvWjWqdSc= | ||
github.com/bep/turbo/v7 v7.20001.20100 h1:k/exSUTpju2RnS5A9fVGkw2ipYsS12kPi9xwmnhf+3Q= | ||
github.com/bep/turbo/v7 v7.20001.20100/go.mod h1:CIoAv+QVJtkr+kXn2ZmfJ/V4r3TPLR6CNMGvWjWqdSc= | ||
github.com/bep/turbo/v7 v7.20300.20000 h1:omrI4cPRwnLufr8S7jCo9JG95FVTM8hIEvJCtgbnhuc= | ||
github.com/bep/turbo/v7 v7.20300.20000/go.mod h1:CIoAv+QVJtkr+kXn2ZmfJ/V4r3TPLR6CNMGvWjWqdSc= | ||
github.com/hotwired/turbo v7.0.1+incompatible h1:DvY56vNgcvH0vkw4VqlAc/hfsTeMdcoOKTGgnoGH6ok= | ||
github.com/hotwired/turbo v7.0.1+incompatible/go.mod h1:6XcpYEC+j8xb7URpSYwhlq4iq98M5F5T/jaLWNHVbZs= | ||
github.com/turbolinks/turbolinks-source-gem v5.2.0+incompatible h1:UNx8t3fYB51UyUv3gOXpTPT7Q6u9LCdcXQd2iW1EClA= | ||
github.com/turbolinks/turbolinks-source-gem v5.2.0+incompatible/go.mod h1:Cl0Br9tUXkQvxumVNGTvyaa7dqpFC2kPMrsS0Ttc94U= | ||
github.com/bigskysoftware/idiomorph v0.3.0 h1:oBY+wmTfvMOFmzPhmutv2JQJGl/hO/wLABF3+Y9R9ZE= | ||
github.com/bigskysoftware/idiomorph v0.3.0/go.mod h1:rS0FeLewyCnz7kx5cj1r1oMY3FvN/nj6x8x6jW0Fmt8= | ||
github.com/hotwired/turbo v8.0.4+incompatible h1:5kl0vGFKE9TUidGu0kQjbCU8mTuEg/Jugf0rtSA6OEk= | ||
github.com/hotwired/turbo v8.0.4+incompatible/go.mod h1:6XcpYEC+j8xb7URpSYwhlq4iq98M5F5T/jaLWNHVbZs= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
{{ $sourceMap := cond hugo.IsProduction "" "inline" }} | ||
{{ $opts := dict "sourceMap" $sourceMap "minify" hugo.IsProduction "target" "es2016" }} | ||
{{- $js := resources.Get "jslibs/turbo/v7/index.ts" | js.Build $opts -}} | ||
{{- $js := resources.Get "jslibs/turbo/v8/index.js" | js.Build $opts -}} | ||
{{- if hugo.IsProduction }} | ||
{{ $js = $js | fingerprint }} | ||
{{ end -}} | ||
<script src="{{ $js.RelPermalink }}" {{ if hugo.IsProduction }} integrity="{{ $js.Data.Integrity }}" {{ end }} defer></script> | ||
<script | ||
src="{{ $js.RelPermalink }}" | ||
{{ if hugo.IsProduction }}integrity="{{ $js.Data.Integrity }}"{{ end }} | ||
defer></script> |