fix shiki worker

This commit is contained in:
Philipp Kühn 2021-09-14 23:02:58 +02:00
parent 86ad5e0b19
commit 80570e2805

View File

@ -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: {