Skip to content

Commit 10f6151

Browse files
committed
fix(clerk-react): Fix build process not catching type errors
1 parent 3abb91f commit 10f6151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default defineConfig(overrideOptions => {
1313
entry: {
1414
index: 'src/index.ts',
1515
},
16-
onSuccess: shouldPublish ? 'npm run publish:local' : undefined,
16+
onSuccess: ['tsc --noEmit', shouldPublish ? 'npm run publish:local' : undefined].filter(Boolean).join(' && '),
1717
format: ['cjs', 'esm'],
1818
bundle: true,
1919
clean: true,

0 commit comments

Comments
 (0)