Skip to content

Commit

Permalink
docs: import maps for playgrounds
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Oct 22, 2023
1 parent 4386752 commit 879893b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/_data/playgrounds.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,14 @@ module.exports = async function(data) {
}

const files = Object.fromEntries(fileMap.entries());
playgroundConfigsMap.set(primaryElementName, { files });
playgroundConfigsMap.set(primaryElementName, {
files,
importMap: {
imports: {
'@rhds/elements/': 'https://ux.redhat.com/assets/packages/@rhds/elements/'
}
}
});
}
}
const config = Object.fromEntries(playgroundConfigsMap.entries());
Expand Down

0 comments on commit 879893b

Please sign in to comment.