- Angular 8 - Discussion
- Angular 8 - Useful Resources
- Angular 8 - Quick Guide
- Angular 9 - What’s New?
- Angular 8 - Working Example
- Angular 8 - Backward Compatibility
- Angular 8 - Building with Bazel
- Angular 8 - Ivy Compiler
- Angular 8 - Testing
- Angular 8 - CLI Commands
- Angular 8 - Accessibility
- Angular 8 - Internationalization (i18n)
- Angular 8 - Server Side Rendering
- Service Workers and PWA
- Angular 8 - Web Workers
- Authentication and Authorization
- Angular 8 - Form Validation
- Angular 8 - Forms
- Angular 8 - Animations
- Routing and Navigation
- Angular 8 - Angular Material
- Angular 8 - Http Client Programming
- Services and Dependency Injection
- Angular 8 - Reactive Programming
- Angular 8 - Pipes
- Angular 8 - Directives
- Angular 8 - Data Binding
- Angular Components and Templates
- Angular 8 - Architecture
- Creating First Application
- Angular 8 - Installation
- Angular 8 - Introduction
- Angular 8 - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Angular 8 - Building with Bazel
Bazel is an advanced build and test tool. It supports lot of features suitable for large projects.
Some of the features of Bazel are as follows:
Support multiple languages.
Support multiple platforms.
Support multiple repository.
Support high-level build language.
Fast and repable.
Angular supports building the apppcation using bazel. Let us see how to use bazel to compile Angular apppcation.
First, install @angular/bazel package.
npm install -g @angular/bazel
For existing apppcation, Add @angular/bazel as mentioned below:
ng add @angular/bazel
For new apppcation, use below mentioned command:
ng new --collection=@angular/bazel
To build an apppcation using bazel, use below command:
ng build --leaveBazelFilesOnDisk
Here,
leaveBazelFilesOnDisk option will leave the bazel files created during build process, which we can use to build the apppcation directly using bazel.
To build apppcation using bazel directly, install @bazel/bazepsk and then, use bazepsk build command.
npm install -g @bazel/bazepsk bazepsk buildAdvertisements