Skip to content

Commit 3605c2a

Browse files
committed
Add builder questions
1 parent 5352e3b commit 3605c2a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@
125125
|117| [Explain the features provided by Angular Language Service?](#explain-the-features-provided-by-angular-language-service)|
126126
|118| [How do you add web workers in your application?](#how-do-you-add-web-workers-in-your-application)|
127127
|119| [What are the limitations with web workers?](#what-are-the-limitations-with-web-workers)|
128+
|120| [What is Angular CLI Builder?](#what-is-angular-cli-builder)|
129+
|121| [What is a builder?](#what-is-a-builder)|
130+
|122| [How do you invoke a builder?](#how-do-you-invoke-a-builder)|
128131

129132
1. ### What is Angular Framework?
130133

@@ -1609,6 +1612,11 @@
16091612
You need to remember two important things when using Web Workers in Angular projects,
16101613
1. Some environments or platforms(like @angular/platform-server) used in Server-side Rendering, don't support Web Workers. In this case you need to provide a fallback mechanism to perform the computations to work in this environments.
16111614
2. Running Angular in web worker using `@angular/platform-webworker` is not yet supported in Angular CLI.
1612-
1615+
120. ### What is Angular CLI Builder?
1616+
In Angular8, the CLI Builder API is stable and available to developers who want to customize the `Angular CLI` by adding or modifying commands. For example, you could supply a builder to perform an entirely new task, or to change which third-party tool is used by an existing command.
1617+
121. ### What is a builder?
1618+
A builder function ia a function that uses the `Architect API` to perform a complex process such as "build" or "test". The builder code is defined in an npm package. For example, BrowserBuilder runs a webpack build for a browser target and KarmaBuilder starts the Karma server and runs a webpack build for unit tests.
1619+
122. ### How do you invoke a builder?
1620+
The Angular CLI command `ng run` is used to invoke a builder with a specific target configuration. The workspace configuration file, `angular.json`, contains default configurations for built-in builders.
16131621
16141622

0 commit comments

Comments
 (0)