Skip to content

Commit 4b73c16

Browse files
authored
Merge pull request #64 from jillbourque/fix/asset-hashing
fix: include hash suffix in HTML asset references
2 parents a53f363 + 87bfeca commit 4b73c16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-all.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ for (const name of builtNames) {
175175
const html = `<!doctype html>
176176
<html>
177177
<head>
178-
<script type="module" src="${normalizedBaseUrl}/${name}.js"></script>
179-
<link rel="stylesheet" href="${normalizedBaseUrl}/${name}.css">
178+
<script type="module" src="${normalizedBaseUrl}/${name}-${h}.js"></script>
179+
<link rel="stylesheet" href="${normalizedBaseUrl}/${name}-${h}.css">
180180
</head>
181181
<body>
182182
<div id="${name}-root"></div>

0 commit comments

Comments
 (0)