Get unlimited public & private packages + team-based management with npm Teams.Learn more »

@coco-platform/bundle

0.4.0 • Public • Published

@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

Keywords

none

Install

npm i @coco-platform/bundle

DownloadsWeekly Downloads

2

Version

0.4.0

License

ISC

Last publish

Collaborators

  • avatar
  • avatar