build: enforce strict deprecation checks
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 18 Mar 2023 15:33:46 +0000 (16:33 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 18 Mar 2023 15:33:46 +0000 (16:33 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
rollup.config.mjs

index 8997445e8f193906422514a30d0c97a837adefa5..b1197e910e1cc524ab56265fd436579dbee6914f 100644 (file)
@@ -10,6 +10,7 @@ const isDocumentation = process.env.DOCUMENTATION
 
 export default {
   input: 'src/index.ts',
+  strictDeprecations: true,
   output: [
     {
       ...(isDevelopmentBuild ? { dir: 'lib' } : { file: 'lib/index.js' }),