compress-entry

1.0.1 • Public • Published

压缩合并 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

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i compress-entry

    Weekly Downloads

    1

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    2.24 MB

    Total Files

    5

    Last publish

    Collaborators

    • eyasliu