forked from MapComplete/MapComplete
Tooling: stop build if something goes wrong
This commit is contained in:
parent
215b566955
commit
8f5634ea86
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ fi
|
|||
export NODE_OPTIONS=--max-old-space-size=16000
|
||||
which vite
|
||||
vite --version
|
||||
vite build --sourcemap
|
||||
vite build --sourcemap || { echo 'Vite build failed' ; exit 1; }
|
||||
# Copy the layer files, as these might contain assets (e.g. svgs)
|
||||
cp -r assets/layers/ dist/assets/layers/
|
||||
cp -r assets/themes/ dist/assets/themes/
|
||||
|
|
Loading…
Reference in a new issue