-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(@angular/cli): document ng eject (#5155)
- Loading branch information
Showing
3 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. --> | ||
|
||
# ng eject | ||
|
||
## Overview | ||
`ng eject` ejects your app and output the proper webpack configuration and scripts | ||
|
||
### Ejecting the CLI | ||
|
||
```bash | ||
ng eject | ||
``` | ||
|
||
## Options | ||
`--aot` Build using Ahead of Time compilation. | ||
|
||
`--app` (`-a`) Specifies app name to use. | ||
|
||
`--base-href` (`-bh`) Base url for the application being built. | ||
|
||
`--deploy-url` (`-d`) URL where files will be deployed. | ||
|
||
`--environment` (`-e`) Defines the build environment. | ||
|
||
`--extract-css` (`-ec`) Extract css from global styles onto css files instead of js ones. | ||
|
||
`--force` Overwrite any webpack.config.js and npm scripts already existing. | ||
|
||
`--i18n-file` Localization file to use for i18n. | ||
|
||
`--i18n-format` Format of the localization file specified with --i18n-file. | ||
|
||
`--locale` Locale to use for i18n. | ||
|
||
`--output-hashing` (`-oh`) Define the output filename cache-busting hashing mode. Possible values: `none`, `all`, `media`, `bundles` | ||
|
||
`--output-path` (`-op`) Path where output will be placed. | ||
|
||
`--poll` Enable and define the file watching poll time period (milliseconds) . | ||
|
||
`--progress` (`-pr`) Log progress to the console while building. | ||
|
||
`--sourcemap` (`-sm`, `--sourcemaps`) Output sourcemaps. | ||
|
||
`--target` (`-t`, `-dev`, `-prod`) Defines the build target. | ||
|
||
`--vendor-chunk` (`-vc`) Use a separate bundle containing only vendor libraries. | ||
|
||
`--verbose` (`-v`) Adds more details to output logging. | ||
|
||
`--watch` (`-w`) Run build when files change. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters