0.0.9 • Published 4 years ago
pkg-compile v0.0.9
Pkg-Compile
Inspired by umi4.
Usage
Installation
npm i -g pkg-compileUsage
Create the compiled.json file:
touch compiled.jsonFile the content of the compiled.json file:
{
  "deps": [
    "chalk",
    "cross-spawn",
    "fs-extra",
    "glob",
    "lodash",
    "pkg-up"
  ],
  "externals": {
    "fs-extra": "$$LOCAL"
  }
}Then can use the pkg-compile command:
pkg-compile