From 045639f584167bbd8459bba6125f3cc767510419 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 21 Aug 2022 21:14:53 +0200 Subject: [PATCH] Fix assets directory cleanup at build in target directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- rollup.config.mjs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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/' }], -- 2.34.1