dependencies: update

This commit is contained in:
Philipp Kühn
2021-12-02 21:06:13 +01:00
parent 90b0929672
commit f7257a5119
20 changed files with 500 additions and 489 deletions

View File

@@ -6,8 +6,8 @@
<script>
import Worker from './shiki.worker?worker'
// this import is a bugfix
// otherwise the `onigasm.wasm` file is missing in the dist folder
import 'shiki/dist/onigasm.wasm?url'
// otherwise the `onig.wasm` file is missing in the dist folder
import 'shiki/dist/onig.wasm?url'
export default {
props: {

View File

@@ -1,5 +1,5 @@
import * as shiki from 'shiki'
import onigasm from 'shiki/dist/onigasm.wasm?url'
import onigasm from 'shiki/dist/onig.wasm?url'
import theme from 'shiki/themes/material-darker.json'
import langHTML from 'shiki/languages/html.tmLanguage.json'
import langJS from 'shiki/languages/javascript.tmLanguage.json'