0.7.2 • Published 6 years ago

@ngx-devtools/bundle v0.7.2

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

ngx-bundle

A library that bundles your angular code, and publish as your library

Getting Started

Requirements

  • Nodejs version 7+
  • Git Bash
Install
npm install --save-dev ngx-bundle
Steps
  • All your code should be in src folder
  • You should have index.ts at root level of your src folder
  • index.ts file should have all exported component, modules, directives, pipes and etc.
Bundle your code
const gulp = require('gulp');
const ngxBundle = require('ngx-bundle');

gulp.task('bundle', async (done) => {
  await Promise.all([ await ngxBundle.rimraf('.tmp'), await ngxBundle.rimraf('dist') ])
    .then(() => ngxBundle.bundle())
    .then(() => ngxBundle.rimraf('.tmp'));
});
Example code
0.7.2

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.6.0

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.0

6 years ago

0.0.8

6 years ago