Fix webpack
This commit is contained in:
parent
933ad0b23a
commit
adbd5af8d1
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -157,6 +157,7 @@ export default {
|
|||
minify: true,
|
||||
css: true,
|
||||
legalComments: 'none',
|
||||
exclude: [new RegExp(`css\\/(${Object.keys(themes).join('|')})\\.css$`)],
|
||||
}),
|
||||
],
|
||||
splitChunks: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue