X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=rollup.config.js;h=46683b3b1f9900d71aaf90b136efe296947936eb;hb=2bbddc367e37d0d163ee0e22f63c7093bb3aa0cd;hp=79cc619ae0b40ab377425b083006716efe7910c2;hpb=84e52c2c9bc85c3b45e61b37b89c3166fae6615e;p=e-mobility-charging-stations-simulator.git diff --git a/rollup.config.js b/rollup.config.js index 79cc619a..46683b3b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,6 +1,7 @@ import analyze from 'rollup-plugin-analyzer'; import copy from 'rollup-plugin-copy'; import del from 'rollup-plugin-delete'; +import istanbul from 'rollup-plugin-istanbul'; import json from '@rollup/plugin-json'; import { terser } from 'rollup-plugin-terser'; import typescript from 'rollup-plugin-typescript2'; @@ -25,6 +26,7 @@ export default { typescript({ tsconfig: 'tsconfig.json' }), + isDevelopmentBuild && istanbul(), del({ targets: 'dist/*' }),