Karma builder

ID: @angular-devkit/build-angular:karma

Tutorials

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

Do not use the real path when resolving modules.

Type boolean

progress#

Log progress to the console while building.

Type boolean
Default true

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

vendorSourceMap#

Resolve vendor packages sourcemaps.

Type boolean
Default false

watch#

Run build when files change.

Type boolean