UNPKG

3.76 kBMarkdownView Raw
1angular-build
2=====================
3
4<!-- Badges section here. -->
5<!-- [![Build Status](https://dev.azure.com/bizappframework/BizAppFramework/_apis/build/status/BizAppFramework.angular-build)](https://dev.azure.com/bizappframework/BizAppFramework/_build/latest?definitionId=35) -->
6[![Build status](https://img.shields.io/appveyor/ci/mmzliveid/angular-build.svg?label=appveyor)](https://ci.appveyor.com/project/mmzliveid/angular-build)
7[![Build Status](https://img.shields.io/travis/BizAppFramework/angular-build/master.svg?label=travis)](https://travis-ci.org/BizAppFramework/angular-build)
8[![npm version](https://badge.fury.io/js/%40bizappframework%2Fangular-build.svg)](https://badge.fury.io/js/%40bizappframework%2Fangular-build)
9[![Dependency Status](https://david-dm.org/bizappframework/angular-build.svg)](https://david-dm.org/bizappframework/angular-build)
10[![npm](https://img.shields.io/npm/dm/@bizappframework/angular-build.svg)](https://www.npmjs.com/package/@bizappframework/angular-build)
11[![Gitter](https://badges.gitter.im/BizAppFramework/angular-build.svg)](https://gitter.im/BizAppFramework/angular-build?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
12
13What is this
14---------------
15
16Another build tool for [Angular](https://github.com/angular/angular) application and library projects based on [Anglar Cli](https://github.com/angular/angular-cli).
17
18Features
19---------------
20
21- Build support for both [library projects](https://github.com/BizAppFramework/angular-build/wiki/Build-Library-Projects) (internally with [rollup](https://github.com/rollup/rollup)) and [app projects](https://github.com/BizAppFramework/angular-build/wiki/Build-App-Projects) (internally with [webpack](https://github.com/webpack/webpack))
22- This npm package can be consumed by [Angular Cli](https://github.com/BizAppFramework/angular-build/wiki/Angular-CLI-Integration), [Webpack Cli](https://github.com/BizAppFramework/angular-build/wiki/Webpack-CLI-Integration), or [Built-in Cli](https://github.com/BizAppFramework/angular-build/wiki/Build-with-Built-in-CLI)
23- Bundle your library in fesm2015, fesm5, umd formats, and [more](https://github.com/BizAppFramework/angular-build/wiki/Build-Library-Projects)
24- [DLL bundling](https://github.com/BizAppFramework/angular-build/wiki/DLL-Bundling) support for optimizing build time, internally using [DllPlugin](https://github.com/webpack/docs/wiki/list-of-plugins#dllplugin), [DllReferencePlugin](https://github.com/webpack/docs/wiki/list-of-plugins#dllreferenceplugin)
25- Flexable configurations with [Extendable config options](https://github.com/BizAppFramework/angular-build/wiki/Extending-Configs)
26- [Customizable html injection](https://github.com/BizAppFramework/angular-build/wiki/Custom-Html-Injection), can inject bundled scripts, links, resource hints, etc into separate files or [ASP.Net Core MVC](https://docs.microsoft.com/en-us/aspnet/core/mvc/overview) partial views
27- Support to [merge with custom webpack config](https://github.com/BizAppFramework/angular-build/wiki/Merge-with-Custom-Webpack-Config)
28
29Prerequisites
30---------------
31
32Make sure you have [Node](https://nodejs.org/en/download/) version >= 8.9 and npm >= 5.5.1.
33
34Installation
35---------------
36
37**BEFORE YOU INSTALL:** please read the [prerequisites](#prerequisites)
38
39```bash
40npm install -g @bizappframework/angular-build
41```
42
43How to use
44---------------
45
46See [Wiki](https://github.com/BizAppFramework/angular-build/wiki).
47
48Feedback
49---------------
50
51Check out the [contributing](https://github.com/BizAppFramework/angular-build/blob/master/CONTRIBUTING.md) page to see the best places to log issues and start discussions.
52
53License
54---------------
55
56[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](/LICENSE)