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 d759085 commit 25f31aeCopy full SHA for 25f31ae
src/index.ts
@@ -92,7 +92,7 @@ if (['jsx-directive', 'setup-sfc'].includes(macro)) {
92
await $`${sg} scan -c ${config} -U --filter 'tsx define-short-slots' ${targetDirectory}`
93
94
if (macro === 'setup-sfc') {
95
- await Promise.all(files.map(async file => fs.move(`${file}.sg.tsx`, `${file.slice(0, -3)}.setup.tsx`)))
+ await Promise.all(files.map(async file => fs.move(`${file}.sg.tsx`, `${file.slice(0, -3)}setup.tsx`)))
96
}
97
else {
98
await $`${sg} scan -c ${config} -U --filter '^tsx sfc$' ${targetDirectory}`
0 commit comments