Angular 6 References/ CLI
References

Karma builder

This is the documentation for Angular 6.
You can switch to the latest version Angular 10.

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

Links & Tutorials

Options

--main#

The name of the main entry-point file.
Type string

--tsConfig#

The name of the TypeScript configuration file.
Type string

--karmaConfig#

The name of the Karma configuration file.
Type string

--polyfills#

The name of the polyfills file.
Type string

--assets#

List of static application assets.
Type array

--scripts#

Global scripts to be included in the build.
Type array

--styles#

Global styles to be included in the build.
Type array

--stylePreprocessorOptions#

Options to pass to style preprocessors.
Type object

--environment#

Defines the build environment.
Type string

--sourceMap#

Output sourcemaps.
Type boolean
Default true

--progress#

Log progress to the console while building.
Type boolean
Default true

--watch#

Run build when files change.
Type boolean

--poll#

Enable and define the file watching poll time period in milliseconds.
Type number
Do not use the real path when resolving modules.
Type boolean

--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

--fileReplacements#

Replace files with other files in the build.
Type array