From 7ebfe05b570dc1e869f35bbe2090f4c8895bbf60 Mon Sep 17 00:00:00 2001 From: bbonf Date: Thu, 13 Jun 2024 16:34:40 +0200 Subject: [PATCH] trying to fix manifest.json --- babex-vue/vite.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/babex-vue/vite.config.ts b/babex-vue/vite.config.ts index d30f6343..1d0ea1df 100644 --- a/babex-vue/vite.config.ts +++ b/babex-vue/vite.config.ts @@ -22,14 +22,14 @@ export default defineConfig({ { name: 'duplicate-output', closeBundle: async () => { - exec("bash -c 'rm -rf ../lab/main/static/vue; rm -rf ../parent/parent/static/vue'", + exec("bash -c 'rm -rf ../lab/main/static/vue; cp -R dist ../lab/main/static/vue'", (error, stdout, stderr) => { console.log(stdout); console.log(stderr); if (error) console.log('error:', error); }); console.log('copying assets'); - exec("bash -c 'cp -vR dist ../lab/main/static/vue && cp -vR dist ../parent/parent/static/vue'", + exec("bash -c 'rm -rf ../parent/parent/static/vue; cp -R dist ../parent/parent/static/vue'", (error, stdout, stderr) => { console.log(stdout); console.log(stderr);