File tree 1 file changed +7
-7
lines changed
packages/component/src/Attachment/Text/private
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
// `shiki/core` entry does not include any themes or languages or the wasm binary.
2
- import { createHighlighterCore , type ThemeRegistrationRaw } from 'shiki/dist/ core.mjs ' ;
3
- import { createJavaScriptRegexEngine } from 'shiki/dist/ engine-javascript.mjs' ;
2
+ import { createHighlighterCore , type ThemeRegistrationRaw } from 'shiki/core' ;
3
+ import { createJavaScriptRegexEngine } from 'shiki/engine-javascript.mjs' ;
4
4
5
5
// directly import the theme and language modules, only the ones you imported will be bundled.
6
- import themeGitHubDark from 'shiki/dist/ themes/github-dark-default.mjs' ;
7
- import themeGitHubLight from 'shiki/dist/ themes/github-light-default.mjs' ;
6
+ import themeGitHubDark from 'shiki/themes/github-dark-default.mjs' ;
7
+ import themeGitHubLight from 'shiki/themes/github-light-default.mjs' ;
8
8
9
- import languageJavaScript from 'shiki/dist/ langs/js.mjs' ;
10
- import languagePython from 'shiki/dist/ langs/py.mjs' ;
11
- import languageTypeScript from 'shiki/dist/ langs/ts.mjs' ;
9
+ import languageJavaScript from 'shiki/langs/js.mjs' ;
10
+ import languagePython from 'shiki/langs/py.mjs' ;
11
+ import languageTypeScript from 'shiki/langs/ts.mjs' ;
12
12
13
13
function addjustTheme ( theme : ThemeRegistrationRaw ) : ThemeRegistrationRaw {
14
14
return {
You can’t perform that action at this time.
0 commit comments