15 Commits

Author SHA1 Message Date
cexbrayat
2828ab4bcc docs(@angular/cli): fix typos in options documentation
Close #5283
2017-03-09 10:47:00 +00:00
Sumit Arora
8c3a7b86dc docs(@angular/cli): Adding more details to documentation (#4960) 2017-03-06 18:47:11 +00:00
Stephen Cavaliere
2699857b79 docs(@angular/cli): document ng eject (#5155) 2017-03-02 11:35:37 -08:00
Filipe Silva
9d29cbca0f feat(@angular/cli): add watch flag to serve/e2e (#4749)
This is useful when you don't want the server to rebuild in the middle of something.

A good example is when running e2e tests. Especially on larger suites, one would prefer to continue working while the build is tested without compromising tests.

This will break tests on #4744. They should be adjusted to add the `--watch` flag since they depend on the live reload behaviour during `ng e2e`.
2017-02-16 17:17:15 -08:00
Filipe Silva
16bfdf0123 feat(@angular/cli): use environmentSource key for environments (#4705)
Heavily based on @jsanchezgarcia work in #4476.

Fix #3857

BREAKING CHANGE:

A new environmentSource entry replaces the previous source entry inside environments.

To migrate the code follow the example below:

Before:
```
"environments": {
  "source": "environments/environment.ts",
  "dev": "environments/environment.ts",
  "prod": "environments/environment.prod.ts"
}
```

After:
```
"environmentSource": "environments/environment.ts",
  "environments": {
  "dev": "environments/environment.ts",
  "prod": "environments/environment.prod.ts"
}
```
2017-02-16 12:09:28 +00:00
Charles Lyding
57ef508895 feat(build): add --poll option to build/serve/test commands
Close #4268
Close #4715
2017-02-16 09:04:49 +00:00
Mike Brocchi
809340a8f0 refactor(@angular/cli): rename config file from angular-cli.json to .angular-cli.json (#4681)
BREAKING CHANGE: The configuration file angular-cli.json has been renamed to .angular-cli.json
2017-02-15 23:14:18 -05:00
Varun Vachhar
469ca912dc feat(@angular/cli): add --stats-json flag to build (#4189)
Allows you to run ng build --json which generates dist/stats.json. This can then be used with things like the webpack-bundle-analyzer or https://webpack.github.io/analyse/

Fix #3179
2017-02-15 15:39:29 +00:00
Filipe Silva
e15433e74a refactor(build): consolidate build options (#4105)
Fix https://github.com/angular/angular-cli/issues/4138

BREAKING CHANGE:

- `--extractCss` defaults to `false` on all `--dev` (`ng build` with no flags uses `--dev`)
-  `--aot` defaults to true in `--prod`
- the alias for `--output-path` is now `-op` instead of `-o`
2017-01-24 17:51:48 +00:00
Mike Brocchi
092e673153 docs: move documentation from readme to docs
Close #4190
2017-01-24 16:30:28 +00:00
Bram Borggreve
26003a0d4e docs: add comment to files in docs/documentation about not adding .md to links
Close #4163
2017-01-24 16:30:16 +00:00
Filipe Silva
87536c8d21 feat(build): add --extract-css flag (#3943)
Having css extraction on all the time makes dev rebuild times very slow for global styles.

This flag defaults to false on dev targets and true on prod targets.
2017-01-12 11:36:00 -08:00
clydin
b82fe414df feat(build): allow output hashing to be configured (#3885) 2017-01-10 14:33:57 -08:00
Ricardo Varanda
cc23e803ec chore(docs): Update misleading build target documentation (#3915) 2017-01-09 10:36:31 -08:00
Mike Brocchi
a5a33fa1db chore(docs): move the new wiki docs to main repo (#3382)
This move will allow other devs to contribute and allow for pull requests and reviews against docs changes.
2016-12-05 15:25:11 -08:00