STUBB
Generate 'dist' during the development process to forward the package's entry file.
Install
npm install --save-dev stubb
Usage
In the 'package.json' of the package in need:
{
// ...
"scripts": {
"stubb": "stubb"
}
}
Set entry file path (default: src/index):
stubb --entry path
stubb -e path
# Multiple Entry
stubb -e path,path,...
Set output file name (default: dist):
If 'package.json -> exports/main/module/types' is set, ignore it.
stubb --output name
stubb -o name