chore: update tab-container-element script references to use bundle.js

This commit is contained in:
Cell
2026-09-01 12:41:17 +08:00
parent 8b28853c9e
commit e819ffc05f
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ libFiles:
# sharer.js@0.5.4 https://github.com/ellisonleao/sharer.js
sharerJS: sharer.js@0.5.4/sharer.min.js
# @github/tab-container-element@4.8.2 https://github.com/github/tab-container-element
tabContainerElementJS: '@github/tab-container-element@4.8.2/dist/bundle.min.js'
tabContainerElementJS: '@github/tab-container-element@4.8.2/dist/bundle.js'
# twemoji@14.0.2 https://github.com/twitter/twemoji
twemojiJS: twemoji@14.0.2/dist/twemoji.min.js
# twikoo@1.7.15 https://github.com/imaegoo/twikoo
+1 -1
View File
@@ -60,7 +60,7 @@ libFiles:
# sharer.js@0.5.4 https://github.com/ellisonleao/sharer.js
sharerJS: sharer.js@0.5.4/sharer.min.js
# @github/tab-container-element@4.8.2 https://github.com/github/tab-container-element
tabContainerElementJS: '@github/tab-container-element@4.8.2/dist/bundle.min.js'
tabContainerElementJS: '@github/tab-container-element@4.8.2/dist/bundle.js'
# twemoji@14.0.2 https://github.com/twitter/twemoji
twemojiJS: twemoji@14.0.2/dist/twemoji.min.js
# twikoo@1.7.15 https://github.com/imaegoo/twikoo
+2 -2
View File
@@ -175,8 +175,8 @@ libraries:
version: 4.8.2
local:
items:
- from: dist/bundle.min.js
to: tab-container-element/bundle.min.js
- from: dist/bundle.js
to: tab-container-element/bundle.js
- npm: twemoji
version: 14.0.2
local:
+1 -1
View File
@@ -220,7 +220,7 @@
{{- /* Tabs */ -}}
{{- if .Store.Get "hasTabs" | and (not $isArchivesOrOffline) -}}
{{- $source := $cdn.tabContainerElementJS | default "lib/tab-container-element/bundle.min.js" -}}
{{- $source := $cdn.tabContainerElementJS | default "lib/tab-container-element/bundle.js" -}}
{{- dict "Source" $source "Fingerprint" $fingerprint "Attr" `type="module"` "Defer" true | dict "Page" . "Data" | partial "store/script.html" -}}
{{- end -}}
+1 -1
View File
@@ -8,7 +8,7 @@
Called from: layouts/baseof.html.
*/ -}}
{{- hugo.Store.Set "version" "v1.0.0-alpha-mti3uoot" -}}
{{- hugo.Store.Set "version" "v1.0.0-alpha-mti6jl18" -}}
{{- .Store.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}