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.
This commit is contained in:
Ulf Gebhardt 2025-02-25 09:30:15 +01:00 committed by GitHub
parent 9668f8d417
commit 18030b8bc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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