fix shiki worker
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
|
||||
<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'
|
||||
|
||||
export default {
|
||||
props: {
|
||||
|
||||
Reference in New Issue
Block a user