rn-shiki 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { LanguageInput, ThemedToken, ThemeInput } from 'shiki'
|
2
2
|
import type { TokenType } from '../../types'
|
3
3
|
import { createHighlighterCore } from 'shiki/core'
|
4
|
-
import { createJavaScriptRegexEngine } from 'shiki/engine
|
4
|
+
import { createJavaScriptRegexEngine } from 'shiki/engine/javascript'
|
5
5
|
|
6
6
|
// Import grammar JSON files using require
|
7
7
|
const cssGrammar = require('tm-grammars/grammars/css.json')
|