X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=rollup.config.js;h=79cc619ae0b40ab377425b083006716efe7910c2;hb=608b6980cf93da2f53b6ba464c61c92d5dcaeaee;hp=2184bb6e5657cb5ec4f5425dbcb24a89e61184f7;hpb=fc20191350f323b57faa6a9c5eca53a76e2cce55;p=e-mobility-charging-stations-simulator.git diff --git a/rollup.config.js b/rollup.config.js index 2184bb6e..79cc619a 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 json from '@rollup/plugin-json'; import { terser } from 'rollup-plugin-terser'; import typescript from 'rollup-plugin-typescript2'; @@ -20,6 +21,7 @@ export default { }, external: ['crypto', 'perf_hooks', 'fs', 'path', 'poolifier', 'uuid', 'ws', 'winston-daily-rotate-file', 'winston/lib/winston/transports', 'winston', 'worker_threads'], plugins: [ + json(), typescript({ tsconfig: 'tsconfig.json' }),