Fix webpack

This commit is contained in:
Minecon724 2025-09-13 10:17:00 +00:00
commit adbd5af8d1
Signed by: Minecon724
GPG key ID: A02E6E67AB961189
2 changed files with 8 additions and 2 deletions

View file

@ -1,8 +1,13 @@
#!/bin/bash
set -euo pipefail
make --no-print-directory watch-frontend &
make --no-print-directory watch-backend &
make --no-print-directory watch-frontend | tee >(
awk -v pattern="webpack" '
$0 ~ pattern {
system("make --no-print-directory watch-backend &")
}
'
) &
trap 'kill $(jobs -p)' EXIT
wait

View file

@ -157,6 +157,7 @@ export default {
minify: true,
css: true,
legalComments: 'none',
exclude: [new RegExp(`css\\/(${Object.keys(themes).join('|')})\\.css$`)],
}),
],
splitChunks: {