Update build scripts for new process
We have to convert *something* to TypeScript so it doesn't complain that there's nothing to compile, so this converts the easiest utility library. Many of the scripts are copied from the react-sdk.
This commit is contained in:
parent
4482cac9b4
commit
ec66069e96
6 changed files with 1425 additions and 575 deletions
|
@ -2,11 +2,6 @@
|
|||
|
||||
set -e
|
||||
|
||||
dev=""
|
||||
if [ "$1" = '-d' ]; then
|
||||
dev=":dev"
|
||||
fi
|
||||
|
||||
if [ -n "$DIST_VERSION" ]; then
|
||||
version=$DIST_VERSION
|
||||
else
|
||||
|
@ -14,7 +9,7 @@ else
|
|||
fi
|
||||
|
||||
yarn clean
|
||||
yarn build$dev
|
||||
yarn build
|
||||
|
||||
# include the sample config in the tarball. Arguably this should be done by
|
||||
# `yarn build`, but it's just too painful.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue