Skip to content

Commit

Permalink
trying to fix manifest.json
Browse files Browse the repository at this point in the history
  • Loading branch information
bbonf committed Jun 13, 2024
1 parent 52a26bc commit 7ebfe05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions babex-vue/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7ebfe05

Please sign in to comment.