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 3456cf5 commit 8482455Copy full SHA for 8482455
src/index.ts
@@ -17,7 +17,7 @@ const VueJsx: UnpluginInstance<Options | undefined, false> = createUnplugin(
17
},
18
handler(code, id) {
19
const result = transformVueJsx(code, id, options)
20
- if (!result?.code) return
+ if (!result) return
21
return {
22
code: result.code,
23
map: result.map as any,
0 commit comments