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.
This commit is contained in:
Ulf Gebhardt 2025-02-24 17:31:12 +01:00
parent 9668f8d417
commit eb87bcc037
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -40,6 +40,7 @@ export default [
}),
typescript({
tsconfig: './tsconfig.json',
noEmitOnError: true,
}),
svg({ base64: true }),
],