Skip to content

Commit 9107f3c

Browse files
alan-agius4alexeagle
authored andcommitted
docs: update optimization description (#11862)
At the moment, the definition might suggest that `optimization` takes some values other than `true` and `false` Close: #11856
1 parent 711d0c0 commit 9107f3c

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

docs/documentation/build.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ See https://github.com/angular/angular-cli/issues/7797 for details.
113113
<code>--optimization</code>
114114
</p>
115115
<p>
116-
Defines the optimization level of the build.
116+
Enables optimization of the build output.
117117
</p>
118118
</details>
119119
<details>

docs/documentation/serve.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ ng serve [project]
178178
<code>--optimization</code>
179179
</p>
180180
<p>
181-
Defines the optimization level of the build.
181+
Enables optimization of the build output.
182182
</p>
183183
</details>
184184
<details>

packages/angular/cli/lib/config/schema.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@
580580
},
581581
"optimization": {
582582
"type": "boolean",
583-
"description": "Defines the optimization level of the build.",
583+
"description": "Enables optimization of the build output.",
584584
"default": false
585585
},
586586
"fileReplacements": {
@@ -995,7 +995,7 @@
995995
},
996996
"optimization": {
997997
"type": "boolean",
998-
"description": "Defines the optimization level of the build."
998+
"description": "Enables optimization of the build output."
999999
},
10001000
"aot": {
10011001
"type": "boolean",
@@ -1373,7 +1373,7 @@
13731373
},
13741374
"optimization": {
13751375
"type": "boolean",
1376-
"description": "Defines the optimization level of the build.",
1376+
"description": "Enables optimization of the build output.",
13771377
"default": false
13781378
},
13791379
"fileReplacements": {

packages/angular_devkit/build_angular/src/browser/schema.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface BrowserBuilderSchema {
4242
stylePreprocessorOptions?: StylePreprocessorOptions;
4343

4444
/**
45-
* Defines the optimization level of the build.
45+
* Enables optimization of the build output.
4646
*/
4747
optimization: boolean;
4848

packages/angular_devkit/build_angular/src/browser/schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
},
5656
"optimization": {
5757
"type": "boolean",
58-
"description": "Defines the optimization level of the build.",
58+
"description": "Enables optimization of the build output.",
5959
"default": false
6060
},
6161
"fileReplacements": {

packages/angular_devkit/build_angular/src/dev-server/schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
},
8181
"optimization": {
8282
"type": "boolean",
83-
"description": "Defines the optimization level of the build."
83+
"description": "Enables optimization of the build output."
8484
},
8585
"aot": {
8686
"type": "boolean",

packages/angular_devkit/build_angular/src/server/schema.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export interface BuildWebpackServerSchema {
6161
*/
6262
bundleDependencies?: BundleDependencies;
6363
/**
64-
* Defines the optimization level of the build.
64+
* Enables optimization of the build output.
6565
*/
6666
optimization?: boolean;
6767
/**

packages/angular_devkit/build_angular/src/server/schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"optimization": {
3131
"type": "boolean",
32-
"description": "Defines the optimization level of the build.",
32+
"description": "Enables optimization of the build output.",
3333
"default": false
3434
},
3535
"fileReplacements": {

0 commit comments

Comments
 (0)