Skip to content

Commit 6268ff0

Browse files
committed
Docs: Try explicit version matching for import map
1 parent 9dd768f commit 6268ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/examples/importmap.json.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ for (const pkg of importPackages) {
4343
try {
4444
// use jsdelivr
4545
if (isStaticBuild) {
46-
let url = `${packageBase}/${pkg}@latest/`;
46+
let url = `${packageBase}/${pkg}@${PACKAGE_VERSION}/`;
4747
if (packageBase.includes('jsdelivr')) {
4848
url += '+esm';
4949
}

0 commit comments

Comments
 (0)