I would use Rollup/Bili when it comes to bundling libraries if possible, since Rollup generates smaller bundle.
In fact I use Bili for bundling libraries and Poi for bundling apps, see https://github.com/egoist/vue-final-form/blob/master/package.json#L10-L22 as an example.
Hi, if you installed an npm package locally, its binary will be installed at
./node_modules/.bin , so in this case you can call
poi command via:
./node_modules/.bin/poi . npm≥5.2.0 also gives you a command
npx which you can use to run local binaries, so the previous command is equivalent to
npx poi . And feel free to append flags if you want: