diff --git a/src/commands/build.ts b/src/commands/build.ts index 7836a07..66330d2 100644 --- a/src/commands/build.ts +++ b/src/commands/build.ts @@ -58,7 +58,7 @@ export default defineCommand({ jsxImportSource: 'vue', jsx: 'automatic', jsxFactory: 'h', - } + }, }, ], rollup: { diff --git a/test/build.spec.ts b/test/build.spec.ts index c2eb21d..d3d332e 100644 --- a/test/build.spec.ts +++ b/test/build.spec.ts @@ -110,7 +110,7 @@ describe('module builder', () => { it('should handle JSX correctly', async () => { const [component, declaration] = await Promise.all([ readFile(join(distDir, 'runtime/components/JsxComponent.mjs'), 'utf-8'), - readFile(join(distDir, 'runtime/components/JsxComponent.d.ts'), 'utf-8') + readFile(join(distDir, 'runtime/components/JsxComponent.d.ts'), 'utf-8'), ]) expect(component).toMatchFileSnapshot('__snapshots__/JsxComponent.mjs') expect(declaration).toMatchFileSnapshot('__snapshots__/JsxComponent.d.ts')