From 18030b8bc0d29f08537488bc782c2d0793a0f8af Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 25 Feb 2025 09:30:15 +0100 Subject: [PATCH] rollup - fail when typescript has warnings or errors (#154) Currently this is detected when building the docu. Since the developer rarely does that the problem is detected on github. This change allows the developer to discover the error early by failing the build. --- rollup.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/rollup.config.js b/rollup.config.js index 33893a11..05dd097b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -40,6 +40,7 @@ export default [ }), typescript({ tsconfig: './tsconfig.json', + noEmitOnError: true, }), svg({ base64: true }), ],