@@ -130,278 +130,20 @@ See https://github.com/angular/angular-cli/issues/7797 for details.
130
130
131
131
## Options
132
132
<details >
133
- <summary >aot </summary >
133
+ <summary >prod </summary >
134
134
<p >
135
- <code>--aot </code> <em>default value: false</em>
135
+ <code>--prod </code>
136
136
</p >
137
137
<p >
138
- Build using Ahead of Time compilation .
138
+ Flag to set configuration to "prod" .
139
139
</p >
140
140
</details >
141
-
142
- <details >
143
- <summary >app</summary >
144
- <p >
145
- <code>--app</code> (aliases: <code>-a</code>)
146
- </p >
147
- <p >
148
- Specifies app name or index to use.
149
- </p >
150
- </details >
151
-
152
- <details >
153
- <summary >base-href</summary >
154
- <p >
155
- <code>--base-href</code> (aliases: <code>-bh</code>)
156
- </p >
157
- <p >
158
- Base url for the application being built.
159
- </p >
160
- </details >
161
-
162
- <details >
163
- <summary >deploy-url</summary >
164
- <p >
165
- <code>--deploy-url</code> (aliases: <code>-d</code>)
166
- </p >
167
- <p >
168
- URL where files will be deployed.
169
- </p >
170
- </details >
171
-
172
- <details >
173
- <summary >environment</summary >
174
- <p >
175
- <code>--environment</code> (aliases: <code>-e</code>)
176
- </p >
177
- <p >
178
- Defines the build environment.
179
- </p >
180
- </details >
181
-
182
- <details >
183
- <summary >extract-css</summary >
184
- <p >
185
- <code>--extract-css</code> (aliases: <code>-ec</code>)
186
- </p >
187
- <p >
188
- Extract css from global styles onto css files instead of js ones.
189
- </p >
190
- </details >
191
-
192
- <details >
193
- <summary >i18n-file</summary >
194
- <p >
195
- <code>--i18n-file</code>
196
- </p >
197
- <p >
198
- Localization file to use for i18n.
199
- </p >
200
- </details >
201
-
202
- <details >
203
- <summary >i18n-format</summary >
204
- <p >
205
- <code>--i18n-format</code>
206
- </p >
207
- <p >
208
- Format of the localization file specified with --i18n-file.
209
- </p >
210
- </details >
211
-
212
- <details >
213
- <summary >locale</summary >
214
- <p >
215
- <code>--locale</code>
216
- </p >
217
- <p >
218
- Locale to use for i18n.
219
- </p >
220
- </details >
221
-
222
- <details >
223
- <summary >missing-translation</summary >
224
- <p >
225
- <code>--missing-translation</code>
226
- </p >
227
- <p >
228
- How to handle missing translations for i18n.
229
- </p >
230
- <p >
231
- Values: <code>error</code>, <code>warning</code>, <code>ignore</code>
232
- </p >
233
- </details >
234
-
235
- <details >
236
- <summary >output-hashing</summary >
237
- <p >
238
- <code>--output-hashing</code> (aliases: <code>-oh</code>)
239
- </p >
240
- <p >
241
- Define the output filename cache-busting hashing mode.
242
- </p >
243
- <p >
244
- Values: <code>none</code>, <code>all</code>, <code>media</code>, <code>bundles</code>
245
- </p >
246
- </details >
247
-
248
- <details >
249
- <summary >output-path</summary >
250
- <p >
251
- <code>--output-path</code> (aliases: <code>-op</code>)
252
- </p >
253
- <p >
254
- Path where output will be placed.
255
- </p >
256
- </details >
257
-
258
- <details >
259
- <summary >delete-output-path</summary >
260
- <p >
261
- <code>--delete-output-path</code> (aliases: <code>-dop</code>) <em>default value: true</<em>
262
- </p >
263
- <p >
264
- Delete the output-path directory.
265
- </p >
266
- </details >
267
-
268
- <details >
269
- <summary >poll</summary >
270
- <p >
271
- <code>--poll</code>
272
- </p >
273
- <p >
274
- Enable and define the file watching poll time period (milliseconds).
275
- </p >
276
- </details >
277
-
278
- <details >
279
- <summary >progress</summary >
280
- <p >
281
- <code>--progress</code> (aliases: <code>-pr</code>) <em>default value: true inside TTY, false otherwise</<em>
282
- </p >
283
- <p >
284
- Log progress to the console while building.
285
- </p >
286
- </details >
287
-
288
- <details >
289
- <summary >sourcemap</summary >
290
- <p >
291
- <code>--sourcemap</code> (aliases: <code>-sm</code>, <code>sourcemaps</code>)
292
- </p >
293
- <p >
294
- Output sourcemaps.
295
- </p >
296
- </details >
297
-
298
- <details >
299
- <summary >stats-json</summary >
300
- <p >
301
- <code>--stats-json</code>
302
- </p >
303
- <p >
304
- Generates a <code>stats.json</code> file which can be analyzed using tools such as: <code>webpack-bundle-analyzer</code> or https://webpack.github.io/analyse.
305
- </p >
306
- </details >
307
-
308
- <details >
309
- <summary >target</summary >
310
- <p >
311
- <code>--target</code> (aliases: <code>-t</code>, <code>-dev</code>, <code>-prod</code>) <em>default value: development</em>
312
- </p >
313
- <p >
314
- Defines the build target.
315
- </p >
316
- </details >
317
-
318
- <details >
319
- <summary >vendor-chunk</summary >
320
- <p >
321
- <code>--vendor-chunk</code> (aliases: <code>-vc</code>) <em>default value: true</em>
322
- </p >
323
- <p >
324
- Use a separate bundle containing only vendor libraries.
325
- </p >
326
- </details >
327
-
328
- <details >
329
- <summary >common-chunk</summary >
330
- <p >
331
- <code>--common-chunk</code> (aliases: <code>-cc</code>) <em>default value: true</em>
332
- </p >
333
- <p >
334
- Use a separate bundle containing code used across multiple bundles.
335
- </p >
336
- </details >
337
-
338
- <details >
339
- <summary >verbose</summary >
340
- <p >
341
- <code>--verbose</code> (aliases: <code>-v</code>) <em>default value: false</em>
342
- </p >
343
- <p >
344
- Adds more details to output logging.
345
- </p >
346
- </details >
347
-
348
- <details >
349
- <summary >watch</summary >
350
- <p >
351
- <code>--watch</code> (aliases: <code>-w</code>)
352
- </p >
353
- <p >
354
- Run build when files change.
355
- </p >
356
- </details >
357
-
358
- <details >
359
- <summary >show-circular-dependencies</summary >
360
- <p >
361
- <code>--show-circular-dependencies</code> (aliases: <code>-scd</code>)
362
- </p >
363
- <p >
364
- Show circular dependency warnings on builds.
365
- </p >
366
- </details >
367
-
368
- <details >
369
- <summary >build-optimizer</summary >
370
- <p >
371
- <code>--build-optimizer</code>
372
- </p >
373
- <p >
374
- Enables @angular-devkit/build-optimizer optimizations when using `--aot`.
375
- </p >
376
- </details >
377
-
378
- <details >
379
- <summary >named-chunks</summary >
380
- <p >
381
- <code>--named-chunks</code> (aliases: <code>-nc</code>)
382
- </p >
383
- <p >
384
- Use file name for lazy loaded chunks.
385
- </p >
386
- </details >
387
-
388
- <details >
389
- <summary >bundle-dependencies</summary >
390
- <p >
391
- <code>--bundle-dependencies</code>
392
- </p >
393
- <p >
394
- In a server build, state whether `all` or `none` dependencies should be bundles in the output.
395
- </p >
396
- </details >
397
-
398
-
399
141
<details >
400
- <summary >extract-licenses </summary >
142
+ <summary >configuration </summary >
401
143
<p >
402
- <code>--extract-licenses </code> <em>default value: true</<em>
144
+ <code>--configuration </code> (aliases: <code>-c</code>)
403
145
</p >
404
146
<p >
405
- Extract all licenses in a separate file, in the case of production builds only .
147
+ Specify the configuration to use .
406
148
</p >
407
149
</details >
0 commit comments