mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-24 16:16:27 +08:00
docs: update optimization
description (#11862)
At the moment, the definition might suggest that `optimization` takes some values other than `true` and `false` Close: #11856
This commit is contained in:
parent
711d0c0ef4
commit
9107f3cc4e
docs/documentation
packages
angular/cli/lib/config
angular_devkit/build_angular/src
@ -113,7 +113,7 @@ See https://github.com/angular/angular-cli/issues/7797 for details.
|
||||
<code>--optimization</code>
|
||||
</p>
|
||||
<p>
|
||||
Defines the optimization level of the build.
|
||||
Enables optimization of the build output.
|
||||
</p>
|
||||
</details>
|
||||
<details>
|
||||
|
@ -178,7 +178,7 @@ ng serve [project]
|
||||
<code>--optimization</code>
|
||||
</p>
|
||||
<p>
|
||||
Defines the optimization level of the build.
|
||||
Enables optimization of the build output.
|
||||
</p>
|
||||
</details>
|
||||
<details>
|
||||
|
@ -580,7 +580,7 @@
|
||||
},
|
||||
"optimization": {
|
||||
"type": "boolean",
|
||||
"description": "Defines the optimization level of the build.",
|
||||
"description": "Enables optimization of the build output.",
|
||||
"default": false
|
||||
},
|
||||
"fileReplacements": {
|
||||
@ -995,7 +995,7 @@
|
||||
},
|
||||
"optimization": {
|
||||
"type": "boolean",
|
||||
"description": "Defines the optimization level of the build."
|
||||
"description": "Enables optimization of the build output."
|
||||
},
|
||||
"aot": {
|
||||
"type": "boolean",
|
||||
@ -1373,7 +1373,7 @@
|
||||
},
|
||||
"optimization": {
|
||||
"type": "boolean",
|
||||
"description": "Defines the optimization level of the build.",
|
||||
"description": "Enables optimization of the build output.",
|
||||
"default": false
|
||||
},
|
||||
"fileReplacements": {
|
||||
|
@ -42,7 +42,7 @@ export interface BrowserBuilderSchema {
|
||||
stylePreprocessorOptions?: StylePreprocessorOptions;
|
||||
|
||||
/**
|
||||
* Defines the optimization level of the build.
|
||||
* Enables optimization of the build output.
|
||||
*/
|
||||
optimization: boolean;
|
||||
|
||||
|
@ -55,7 +55,7 @@
|
||||
},
|
||||
"optimization": {
|
||||
"type": "boolean",
|
||||
"description": "Defines the optimization level of the build.",
|
||||
"description": "Enables optimization of the build output.",
|
||||
"default": false
|
||||
},
|
||||
"fileReplacements": {
|
||||
|
@ -80,7 +80,7 @@
|
||||
},
|
||||
"optimization": {
|
||||
"type": "boolean",
|
||||
"description": "Defines the optimization level of the build."
|
||||
"description": "Enables optimization of the build output."
|
||||
},
|
||||
"aot": {
|
||||
"type": "boolean",
|
||||
|
@ -61,7 +61,7 @@ export interface BuildWebpackServerSchema {
|
||||
*/
|
||||
bundleDependencies?: BundleDependencies;
|
||||
/**
|
||||
* Defines the optimization level of the build.
|
||||
* Enables optimization of the build output.
|
||||
*/
|
||||
optimization?: boolean;
|
||||
/**
|
||||
|
@ -29,7 +29,7 @@
|
||||
},
|
||||
"optimization": {
|
||||
"type": "boolean",
|
||||
"description": "Defines the optimization level of the build.",
|
||||
"description": "Enables optimization of the build output.",
|
||||
"default": false
|
||||
},
|
||||
"fileReplacements": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user