build: add rollup analyze to each pipelines
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 28 Aug 2023 21:30:52 +0000 (23:30 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 28 Aug 2023 21:30:52 +0000 (23:30 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
rollup.config.mjs

index fd0452ecda4ec28eef891149ba07bae2c730a2a8..b1386fbdd0dea8c352c0dad28b9dac9e309be252 100644 (file)
@@ -96,7 +96,8 @@ export default [
       del({
         targets: ['lib/dts'],
         hook: 'buildEnd'
-      })
+      }),
+      isAnalyzeBuild && analyze()
     ]
   }
 ]