build(aio): add staging environment

You can now specify what environment you are building
by add it to the `yarn build` command. For example:

```
yarn build -- --env=stage
```

Moreover the `deploy-to-firebase.sh` script will automatically apply the
appropriate environment.
This commit is contained in:
Peter Bacon Darwin
2017-06-12 23:51:39 +01:00
committed by Pete Bacon Darwin
parent 541c9a94bf
commit 052331fabc
5 changed files with 13 additions and 2 deletions
+1
View File
@@ -31,6 +31,7 @@
"environmentSource": "environments/environment.ts",
"environments": {
"dev": "environments/environment.ts",
"stage": "environments/environment.stage.ts",
"prod": "environments/environment.prod.ts"
}
}