chore: cache bust component js
This commit is contained in:
parent
32c6bc3ba2
commit
16f8f3579f
7 changed files with 8 additions and 8 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "22.1.4",
|
"version": "22.1.5",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "22.1.4",
|
"version": "22.1.5",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cdransf/api-text": "^1.5.0",
|
"@cdransf/api-text": "^1.5.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "22.1.4",
|
"version": "22.1.5",
|
||||||
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
"description": "The source for my personal site. Built using 11ty (and other tools).",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<script type="module" src="/assets/scripts/components/api-text.js" crossorigin="anonymous"></script>
|
<script type="module" src="/assets/scripts/components/api-text.js?v={% appVersion %}" crossorigin="anonymous"></script>
|
||||||
<api-text api-url="/api/now-playing">
|
<api-text api-url="/api/now-playing">
|
||||||
<p class="loading">🎧 Loading...</p>
|
<p class="loading">🎧 Loading...</p>
|
||||||
<p class="content"></p>
|
<p class="content"></p>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<script type="module" src="/assets/scripts/components/youtube-video-element.js"></script>
|
<script type="module" src="/assets/scripts/components/youtube-video-element.js?v={% appVersion %}"></script>
|
||||||
<style>youtube-video{aspect-ratio:16/9;width:100%;margin-bottom:var(--sizing-base)}</style>
|
<style>youtube-video{aspect-ratio:16/9;width:100%;margin-bottom:var(--sizing-base)}</style>
|
||||||
<youtube-video controls src="{{ url }}"></youtube-video>
|
<youtube-video controls src="{{ url }}"></youtube-video>
|
|
@ -1,4 +1,4 @@
|
||||||
<script type="module" src="/assets/scripts/components/select-pagination.js"></script>
|
<script type="module" src="/assets/scripts/components/select-pagination.js?v={% appVersion %}"></script>
|
||||||
<nav aria-label="Pagination" class="pagination flex-centered">
|
<nav aria-label="Pagination" class="pagination flex-centered">
|
||||||
{%- if pagination.href.previous -%}
|
{%- if pagination.href.previous -%}
|
||||||
<a href="{{ pagination.href.previous }}" aria-label="Previous page">
|
<a href="{{ pagination.href.previous }}" aria-label="Previous page">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<script type="module" src="/assets/scripts/components/theme-toggle.js" crossorigin="anonymous"></script>
|
<script type="module" src="/assets/scripts/components/theme-toggle.js?v={% appVersion %}" crossorigin="anonymous"></script>
|
||||||
<span class="client-side">
|
<span class="client-side">
|
||||||
<theme-toggle>
|
<theme-toggle>
|
||||||
<button class="theme-toggle" tabindex="0">
|
<button class="theme-toggle" tabindex="0">
|
||||||
|
|
|
@ -4,7 +4,7 @@ description: Search through and find the posts and links on my site.
|
||||||
layout: default
|
layout: default
|
||||||
permalink: /search.html
|
permalink: /search.html
|
||||||
---
|
---
|
||||||
<script src="/assets/scripts/components/minisearch.js"></script>
|
<script src="/assets/scripts/components/minisearch.js?v={% appVersion %}"></script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
(() => {
|
(() => {
|
||||||
const miniSearch = new MiniSearch({
|
const miniSearch = new MiniSearch({
|
||||||
|
|
Reference in a new issue