Skip to content

Commit f2a2c2f

Browse files
committed
Stop packages build when TypeScript code is invalid
1 parent 1696ab1 commit f2a2c2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/rollup.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ function getRollupConfiguration({ packageRoot, inputFiles }) {
108108
typescript({
109109
filterRoot: '.',
110110
tsconfig: path.join(__dirname, '..', 'tsconfig.json'),
111+
noEmitOnError: true,
111112
include: [
112113
'src/**/*.ts',
113114
// TODO: Remove for the next major release

0 commit comments

Comments
 (0)