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