Skip to content

Commit

Permalink
refactor: move build config to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
themightychris committed Nov 21, 2018
1 parent a714036 commit 737b6e6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion sencha-workspace/packages/slate-cbl-baxter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,16 @@
/**
* Controls the output directory.
*/
"output": "${package.dir}/build",
"output": {
"base": "${package.dir}/build",
"js": {
"version": "ES6"
}
},

"compressor": {
"polyfills": "none"
},

/**
* Indicates whether this is a locally developed package or downloaded form a repository.
Expand Down
2 changes: 1 addition & 1 deletion update-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ BUILD_PATH=`cd "$BUILD_PATH"; pwd`
echo "Building package: $PACKAGE_PATH"
cd "$PACKAGE_PATH"

if sencha ant -Dcompressor.polyfills=none build ; then
if sencha ant build ; then
echo "Committing build"

git add -f --all $BUILD_PATH
Expand Down

0 comments on commit 737b6e6

Please sign in to comment.