You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: adev/src/content/reference/configs/workspace-config.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,21 +34,21 @@ For more information, see [Workspace and project file structure](reference/confi
34
34
35
35
The following properties are a set of options that customize the Angular CLI.
36
36
37
-
| Property | Details | Value type | Default value |
38
-
|:--- |:--- |:--- |:--- |
39
-
|`analytics`| Share anonymous usage data with the Angular Team. A boolean value indicates whether or not to share data, while a UUID string shares data using a pseudonymous identifier. |`boolean`|`string`|`false`|
40
-
|`cache`| Control [persistent disk cache](cli/cache) used by [Angular CLI Builders](tools/cli/cli-builder). |[Cache options](#cache-options)|`{}`|
41
-
|`schematicCollections`| List schematics collections to use in `ng generate`. |`string[]`|`[]`|
42
-
|`packageManager`| The preferred package manager tool to use. |`npm`|`cnpm`|`pnpm`|`yarn`|`npm`|
43
-
|`warnings`| Control Angular CLI specific console warnings. |[Warnings options](#warnings-options)|`{}`|
37
+
| Property | Details | Value type | Default value |
38
+
|:--- |:--- |:--- |:--- |
39
+
|`analytics`| Share anonymous usage data with the Angular Team. A boolean value indicates whether or not to share data, while a UUID string shares data using a pseudonymous identifier. |`boolean`\|`string`|`false`|
40
+
|`cache`| Control [persistent disk cache](cli/cache) used by [Angular CLI Builders](tools/cli/cli-builder). |[Cache options](#cache-options)|`{}`|
41
+
|`schematicCollections`| List schematics collections to use in `ng generate`. |`string[]`|`[]`|
42
+
|`packageManager`| The preferred package manager tool to use. |`npm`\|`cnpm`\|`pnpm`\|`yarn`|`npm`|
43
+
|`warnings`| Control Angular CLI specific console warnings. |[Warnings options](#warnings-options)|`{}`|
44
44
45
45
### Cache options
46
46
47
-
| Property | Details | Value type | Default value |
48
-
|:--- |:--- |:--- |:--- |
49
-
|`enabled`| Configure whether disk caching is enabled for builds. |`boolean`|`true`|
50
-
|`environment`| Configure in which environment disk cache is enabled.<br><br>*`ci` enables caching only in continuous integration (CI) environments.<br>*`local` enables caching only *outside* of CI environments.<br>*`all` enables caching everywhere. |`local`|`ci`|`all`|`local`|
51
-
|`path`| The directory used to stored cache results. |`string`|`.angular/cache`|
47
+
| Property | Details | Value type | Default value |
48
+
|:--- |:--- |:--- |:--- |
49
+
|`enabled`| Configure whether disk caching is enabled for builds. |`boolean`|`true`|
50
+
|`environment`| Configure in which environment disk cache is enabled.<br><br>*`ci` enables caching only in continuous integration (CI) environments.<br>*`local` enables caching only *outside* of CI environments.<br>*`all` enables caching everywhere. |`local`\|`ci`\|`all`|`local`|
51
+
|`path`| The directory used to stored cache results. |`string`|`.angular/cache`|
52
52
53
53
### Warnings options
54
54
@@ -63,7 +63,7 @@ The following top-level configuration properties are available for each project,
63
63
| Property | Details | Value type | Default value |
64
64
|:--- |:--- |:--- |:--- |
65
65
|`root`| The root directory for this project's files, relative to the workspace directory. Empty for the initial application, which resides at the top level of the workspace. |`string`| None (required) |
66
-
|`projectType`| One of "application" or "library" An application can run independently in a browser, while a library cannot. |`application`|`library`| None (required) |
66
+
|`projectType`| One of "application" or "library" An application can run independently in a browser, while a library cannot. |`application`\|`library`| None (required) |
67
67
|`sourceRoot`| The root directory for this project's source files. |`string`|`''`|
68
68
|`prefix`| A string that Angular prepends to selectors when generating new components, directives, and pipes using `ng generate`. Can be customized to identify an application or feature area. |`string`|`'app'`|
69
69
|`schematics`| A set of schematics that customize the `ng generate` sub-command option defaults for this project. See the [Generation schematics](#schematics) section. | See [schematics](#schematics)|`{}`|
@@ -409,8 +409,8 @@ Several options can be used to fine-tune the optimization of an application.
409
409
| Options | Details | Value type | Default value |
410
410
|:--- |:--- |:--- |:--- |
411
411
|`scripts`| Enables optimization of the scripts output. |`boolean`|`true`|
412
-
|`styles`| Enables optimization of the styles output. |`boolean`|[Styles optimization options](#styles-optimization-options)|`true`|
413
-
|`fonts`| Enables optimization for fonts. This requires internet access. |`boolean`|[Fonts optimization options](#fonts-optimization-options)|`true`|
412
+
|`styles`| Enables optimization of the styles output. |`boolean`\|[Styles optimization options](#styles-optimization-options)|`true`|
413
+
|`fonts`| Enables optimization for fonts. This requires internet access. |`boolean`\|[Fonts optimization options](#fonts-optimization-options)|`true`|
0 commit comments