Skip to content

Commit

Permalink
chore: fix types bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 7, 2024
1 parent df95518 commit af71314
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/shiki/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
"test:cf": "wrangler dev test/cf.ts --port 60001"
},
"dependencies": {
"@shikijs/core": "workspace:*"
"@shikijs/core": "workspace:*",
"@types/hast": "^3.0.4"
},
"devDependencies": {
"tm-grammars": "^1.13.6",
Expand Down
1 change: 1 addition & 0 deletions packages/shiki/src/bundle-full.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import type { BundledTheme } from './themes'
import { bundledLanguages } from './assets/langs-bundle-full'
import { bundledThemes } from './themes'
import { getWasmInlined } from './wasm-dynamic'
import type {} from 'hast'

export * from './core'
export * from './themes'
Expand Down
1 change: 1 addition & 0 deletions packages/shiki/src/bundle-web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import type { BundledTheme } from './themes'
import { bundledLanguages } from './assets/langs-bundle-web'
import { bundledThemes } from './themes'
import { getWasmInlined } from './wasm-dynamic'
import type {} from 'hast'

export * from './core'
export * from './themes'
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit af71314

Please sign in to comment.