diff --git a/aio/package.json b/aio/package.json index c66e4c209f..cd664e533b 100644 --- a/aio/package.json +++ b/aio/package.json @@ -13,11 +13,10 @@ "aio-check-local": "node tools/ng-packages-installer check .", "ng": "yarn check-env && ng", "start": "yarn check-env && ng serve --configuration=fast", - "build": "yarn build-for stable", - "prebuild-for": "yarn setup", - "build-for": "yarn ~~build --configuration", + "prebuild": "yarn setup", + "build": "yarn ~~build", "prebuild-local": "yarn setup-local", - "build-local": "yarn ~~build --configuration=stable", + "build-local": "yarn ~~build", "extract-cli-command-docs": "node tools/transforms/cli-docs-package/extract-cli-commands.js 02d2ec250", "lint": "yarn check-env && yarn docs-lint && ng lint && yarn example-lint && yarn tools-lint", "test": "yarn check-env && ng test", @@ -64,7 +63,7 @@ "update-webdriver": "webdriver-manager update --standalone false --gecko false $CHROMEDRIVER_VERSION_ARG", "~~check-env": "node scripts/check-environment", "~~clean-generated": "node --eval \"require('shelljs').rm('-rf', 'src/generated')\"", - "~~build": "ng build", + "~~build": "ng build --configuration=stable", "post~~build": "yarn build-404-page", "~~build-ie-polyfills": "webpack-cli src/ie-polyfills.js -o src/generated/ie-polyfills.min.js --mode production", "~~http-server": "http-server", diff --git a/aio/scripts/deploy-to-firebase.sh b/aio/scripts/deploy-to-firebase.sh index 9032c1ccc9..6000a311b8 100755 --- a/aio/scripts/deploy-to-firebase.sh +++ b/aio/scripts/deploy-to-firebase.sh @@ -93,7 +93,7 @@ fi cd "`dirname $0`/.." # Build the app - yarn build-for $deployEnv --progress=false + yarn build --configuration=$deployEnv --progress=false # Include any mode-specific files cp -rf src/extra-files/$deployEnv/. dist/