8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62b17f3 commit 9c2b620Copy full SHA for 9c2b620
packages/plugin-vue-jsx/src/index.ts
@@ -13,7 +13,10 @@ export * from './types'
13
const ssrRegisterHelperId = '/__vue-jsx-ssr-register-helper'
14
const ssrRegisterHelperCode =
15
`import { useSSRContext } from "vue"\n` +
16
- `export ${ssrRegisterHelper.toString()}`
+ // the const here is just to work around the Bun bug where
17
+ // Function.toString() isn't working as intended
18
+ // https://github.com/oven-sh/bun/issues/9543
19
+ `export const ssrRegisterHelper = ${ssrRegisterHelper.toString()}`
20
21
/**
22
* This function is serialized with toString() and evaluated as a virtual
0 commit comments