NDK Builder
Build or develop app/web project.
Install
yarn add @nuofe/ndk-builder --dev
Usage
Add scripts in package.json, like this:
{
"scripts": {
"build": "ndk-builder build",
"dev": "ndk-builder dev"
}
}
Run command to build project.
yarn build [-c | --useCache]
Run command to develop project.
yarn dev [-9 | --forIE9]
Use some args for analyze or debug project.
yarn build [-b | --useBundleAnalyzer] [-s | --useSpeedMeasure] [--debug] [--detail] [--not-mini]
Use --clean
argument force project clean output folder.
yarn build --clean
Use --dist
argument force project output to dist
folder.
yarn build --dist