@coco-platform/bundle
v0.4.0
Published
rollup project into bundle.
Downloads
2
Readme
@coco-platform/bundle
Universal rollup unpack wrapper.
Options
/**
* @description - bundle implement
*
* @param {string} input - rollup bundle entry
* @param {object} meta - package description file, package.json
* @param {boolean} disableEslint - disable eslint, such as bundle typescript compiled code
* @param {boolean} sourceMap - whether preserve source map
*/
Usage: coco-bundle <input>
Options:
-s, --source-map generate source map
-d, --disable-eslint skip eslint plugin
-h, --help output usage information
Usage
const bundle = require('@coco-platform/bundle');
const options = {};
bundle(options);
License
MIT