mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
16 lines
338 B
Bash
16 lines
338 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
PROJECT=""
|
||
|
export GRIST_EXT=stubs
|
||
|
if [[ -e ext/app ]]; then
|
||
|
PROJECT="tsconfig-ext.json"
|
||
|
fi
|
||
|
|
||
|
set -x
|
||
|
tsc --build $PROJECT
|
||
|
webpack --config buildtools/webpack.config.js --mode production
|
||
|
webpack --config buildtools/webpack.check.js --mode production
|
||
|
cat app/client/*.css app/client/*/*.css > static/bundle.css
|