`npm install --save-dev packez`
npm install packeznpm install --save-dev packez
cli
npx packez server ./src/index.js -d dist -w -c;
npx packez build ./src/index.js -d dist -w -c;
``ts
const packez = require("packez");
packez(entry, output, options);
packez.build(entry, output, options);
packez.server(entry, output, options);
`
packez [build|server] filepath [--config configPath]
> default configPath packez.config.js
`js
module.exports = function(webpackConfig) {
...
}
``