mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
fix shiki worker
This commit is contained in:
parent
86ad5e0b19
commit
80570e2805
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user