Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion website/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ async function buildPlaygrounds(template, versions) {
}

async function buildPlayground(template, version, versions) {
const versionPath = version.path ?? version.label;
const versionPath = version.branch ?? version.tag;
const bundleScript = `<script nomodule src="${ config.bundlesPath }/${ versionPath }/${ config.bundleName }"></script>`;
const bundleESModulesScript = `<script type="module" src="${ config.bundlesPath }/${ versionPath }/${ config.bundleNameESModules }"></script>`;
const babelScript = '<script src="./babel.min.js"></script>';
Expand Down Expand Up @@ -275,6 +275,7 @@ async function getVersions() {
return [{
label: BRANCH,
default: true,
branch: BRANCH,
}];
}
const versions = await readJson(config.versionsFile);
Expand Down