Skip to content

Commit

Permalink
fix: pin shiki version on cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Jul 21, 2022
1 parent 855103b commit 8f69bbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/histoire/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"pathe": "^0.2.0",
"picocolors": "^1.0.0",
"sade": "^1.8.1",
"shiki": "^0.10.1",
"shiki": "0.10.1",
"sirv": "^2.0.2",
"tinypool": "^0.1.2",
"vite-node": "0.12.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const highlighter = shallowRef<Highlighter>()
const error = ref<string>(null)
onMounted(async () => {
setCDN('https://unpkg.com/shiki/')
setCDN('https://unpkg.com/shiki@0.10.1/')
highlighter.value = await getHighlighter({
langs: [
'html',
Expand Down

0 comments on commit 8f69bbf

Please sign in to comment.