From: Jérôme Benoit Date: Sun, 21 Aug 2022 19:14:53 +0000 (+0200) Subject: Fix assets directory cleanup at build in target directory X-Git-Tag: v1.1.66~31 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=045639f584167bbd8459bba6125f3cc767510419;p=e-mobility-charging-stations-simulator.git Fix assets directory cleanup at build in target directory Signed-off-by: Jérôme Benoit --- diff --git a/rollup.config.mjs b/rollup.config.mjs index 3ab0886e..0388de65 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -68,7 +68,13 @@ export default { }), isDevelopmentBuild && istanbul(), del({ - targets: ['dist/*', '!dist/assets', 'dist/assets/*.json', 'dist/assets/station-templates'], + targets: [ + 'dist/*', + '!dist/assets', + 'dist/assets/*.json', + 'dist/assets/station-templates', + 'dist/assets/json-schemas', + ], }), copy({ targets: [{ src: 'src/assets', dest: 'dist/' }],