Karma builder
ID: @angular-devkit/build-angular:karma
Options
--assets
#
List of static application assets.
Type | array |
--browsers
#
Override which browsers tests are run against.
Type | string |
--codeCoverage
#
Output a code coverage report.
Type | boolean |
--codeCoverageExclude
#
Globs to exclude from code coverage.
Type | array |
--environment
#
Defines the build environment.
Type | string |
--fileReplacements
#
Replace files with other files in the build.
Type | array |
--karmaConfig
#
The name of the Karma configuration file.
Type | string |
--main
#
The name of the main entry-point file.
Type | string |
--poll
#
Enable and define the file watching poll time period in milliseconds.
Type | number |
--polyfills
#
The name of the polyfills file.
Type | string |
--preserveSymlinks
#
Do not use the real path when resolving modules.
Type | boolean |
--progress
#
Log progress to the console while building.
Type | boolean |
Default | true |
--reporters
#
Karma reporters to use. Directly passed to the karma runner.
Type | array |
--scripts
#
Global scripts to be included in the build.
Type | array |
--sourceMap
#
Output sourcemaps.
Type | boolean |
Default | true |
--stylePreprocessorOptions
#
Options to pass to style preprocessors.
Type | object |
--styles
#
Global styles to be included in the build.
Type | array |
--tsConfig
#
The name of the TypeScript configuration file.
Type | string |
--watch
#
Run build when files change.
Type | boolean |
--webWorkerTsConfig
#
TypeScript configuration for Web Worker modules.
Type | string |