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

angular

v9.0.2arrow_drop_down
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
3,730
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
A day 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/angular -c

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.