From eb87bcc037d6590a3bd350f9afce54874df71bd0 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 24 Feb 2025 17:31:12 +0100 Subject: [PATCH] rollup - fail when typescript has warnings or errors 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 }), ],