X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=rollup.config.mjs;h=c28aaf0460dd35fa7100ffffcba00c60c3c5b978;hb=18b41d7e5588482236ea5963a90f948accadc068;hp=6ba6851921ad50c39170767bfef9487d6a0ffa59;hpb=607702359efa541f5335196885a4f0040a6dae71;p=e-mobility-charging-stations-simulator.git diff --git a/rollup.config.mjs b/rollup.config.mjs index 6ba68519..c28aaf04 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -5,6 +5,7 @@ import json from '@rollup/plugin-json'; import terser from '@rollup/plugin-terser'; import typescript from '@rollup/plugin-typescript'; import { copy } from '@web/rollup-plugin-copy'; +import { defineConfig } from 'rollup'; import analyze from 'rollup-plugin-analyzer'; import del from 'rollup-plugin-delete'; @@ -26,7 +27,7 @@ const isDevelopmentBuild = process.env.BUILD === 'development'; const isAnalyzeBuild = process.env.ANALYZE; const sourceMap = !!isDevelopmentBuild; -export default { +export default defineConfig({ input: ['./src/start.ts', './src/charging-station/ChargingStationWorker.ts'], strictDeprecations: true, output: [ @@ -101,4 +102,4 @@ export default { }), isAnalyzeBuild && analyze(), ], -}; +});