Add initial unit tests: circular array
[e-mobility-charging-stations-simulator.git] / rollup.config.js
index 79cc619ae0b40ab377425b083006716efe7910c2..46683b3b1f9900d71aaf90b136efe296947936eb 100644 (file)
@@ -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/*'
     }),