1 | # Nuo FE Build Tool
|
2 |
|
3 | [![NPM version][npm-image]][npm-url]
|
4 | [![Downloads][downloads-image]][downloads-url]
|
5 |
|
6 | [npm-image]: https://img.shields.io/npm/v/@nuofe/ndk-build-tool.svg?style=flat-square
|
7 | [npm-url]: https://www.npmjs.com/package/@nuofe/ndk-build-tool
|
8 | [downloads-image]: https://img.shields.io/npm/dm/@nuofe/ndk-build-tool.svg?style=flat-square
|
9 | [downloads-url]: https://www.npmjs.com/package/@nuofe/ndk-build-tool
|
10 |
|
11 | Build tool for Nuo FE.
|
12 |
|
13 | ## Install
|
14 |
|
15 | ```bash
|
16 | npm i @nuofe/ndk-build-tool -g
|
17 | ```
|
18 |
|
19 | ## Usage
|
20 |
|
21 | Command must run in root of app or web package.
|
22 |
|
23 | First init build config for package.
|
24 |
|
25 | ```bash
|
26 | ndk-init
|
27 | ```
|
28 |
|
29 | Second start build or develop.
|
30 |
|
31 | ```bash
|
32 | ndk-build [-b | --useBundleAnalyzer] [-s | --useSpeedMeasure]
|
33 | ```
|
34 |
|
35 | or
|
36 |
|
37 | ```bash
|
38 | ndk-dev [-9 | --forIE9]
|
39 | ```
|