dependencies: update
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user