-
Notifications
You must be signed in to change notification settings - Fork 12k
feat(@angular/cli): add flag to control chunk naming #7007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
docs/documentation/angular-cli.md
Outdated
@@ -77,6 +77,15 @@ | |||
- *service*: Options for generating a service. | |||
- *flat* (`boolean`): Flag to indicate if a dir is created. Default is `true`. | |||
- *spec* (`boolean`): Specifies if a spec file is generated. Default is `true`. | |||
- *build*: Properties to be passed to the serve command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo:
Properties to be passed to the serve build command
docs/documentation/angular-cli.md
Outdated
- *build*: Properties to be passed to the serve command | ||
- *sourcemaps* (`boolean`): Output sourcemaps. | ||
- *baseHref* (`string`): Base url for the application being built. | ||
- *progress* (`boolean`): The ssl key used by the server. Default is `true`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong description?
1e9d562
to
b3557ed
Compare
Good catches @antonybudianto, thanks! |
b3557ed
to
ac5eceb
Compare
ac5eceb
to
df5209b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor nit.
docs/documentation/build.md
Outdated
<details> | ||
<summary>named-chunks</summary> | ||
<p> | ||
<code>--named-chunks</code> (aliases: <code>-scd</code>) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The alias scd
does not match the one in code nc
.
a8ac917
to
ceeddfe
Compare
Followup to angular#6881 Allow controlling chunk naming via the `--named-chunks` flag, which can be set on `.angular-cli.json` as well. Defaults to true in development, false in production.
ceeddfe
to
0e8c35c
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Followup to #6881
Allow controlling chunk naming via the
--named-chunks
flag, which can be set on.angular-cli.json
as well.Defaults to true in development, false in production.
Fix #6999