Skip to content

Commit 1704a2c

Browse files
fix
1 parent c4bd2fd commit 1704a2c

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/index.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
// Adds @kitajs/html's Html globally.
2-
// @ts-expect-error - When running from a compiled bun version,
3-
// this will fail because /register will be stripped out if not
4-
// used. This is just a workaround to make it work.
5-
import { noop } from '@kitajs/html/register'
6-
try {
7-
noop()
8-
} catch {}
9-
101
export * from './html'
112
export * from './options'
123
export * from './utils'
134

5+
// Adds @kitajs/html's Html globally.
6+
export * from '@kitajs/html/register'
147
export { Html } from '@kitajs/html'

0 commit comments

Comments
 (0)