You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
338 B
16 lines
338 B
2 years ago
|
#!/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
|