diff --git a/packages/babel-plugin-jsx/src/utils.ts b/packages/babel-plugin-jsx/src/utils.ts index ad10f95..49867f9 100644 --- a/packages/babel-plugin-jsx/src/utils.ts +++ b/packages/babel-plugin-jsx/src/utils.ts @@ -39,8 +39,8 @@ export const shouldTransformedToSlots = (tag: string, state?: State) => { const vueImportMap = state.get('vueImportMap'); for (const name of [FRAGMENT, KEEP_ALIVE]) { if (vueImportMap[name]) { - if(vueImportMap[name].some((id: t.Identifier) => id.name === tag)){ - return false + if (vueImportMap[name].some((id: t.Identifier) => id.name === tag)) { + return false; } } }