1.0.1 • Published 6 years ago

compress-entry v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

压缩合并 nodejs 项目

把一个 nodejs 项目构建压缩为一个文件

make nodejs project build to one js file

install

npm i -g compress-entry

usage

$ compress-entry -h

Options:
  --out-file, -f  output filename                          [default: "index.js"]
  --out-dir, -d   output directory                [default: "/you/current/path"]
  -h, --help      Show help                                            
  -v, --version   Show version number                                  

example

compress-entry -d build -f index.js entry.js