Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

angular

v9.0.21arrow_drop_down
v9.0.21
v9.0.20
v9.0.19
v9.0.18
v9.0.17
v9.0.16
v9.0.15
v9.0.14
v9.0.13
v9.0.12
v9.0.11
v9.0.9
v9.0.8
v9.0.7
v9.0.6
v9.0.5
v9.0.4
v9.0.3
v9.0.2
v9.0.1
v9.0.0
v0.2.2
v0.2.1
v0.2.0
v0.1.9
v0.1.8
v0.1.7
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
STATUS
Passing
DOWNLOADS
11,022
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
2 weeks ago
SIZE
N/A
Bit environment for transpiling Angular components according to the Angular Package Format, by using ng-packagr.
3 contributors
Install angular as a package?
Copied
npm i @bit/bit.envs.compilers.angular
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
Angular
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right

Bit-Angular Compiler

Bit environment for transpiling Angular components according to the Angular Package Format. Beneath the surface, this Bit compiler uses ng-packagr.

Installation

Install in your project using the following command:

bit import bit.envs/compilers/angular

How to use?

Build your components after tracking them using bit build.

bit build

Contents

  • The compiler uses @angular 9 and ng-packagr v9 for building.
  • Compiler adds webpack-env >= 0.8.0 and tslib >= 1.0.0
  • The compiler creates an ng-package.json file, if one does not exist. Otherwise, it will use the existing one.