npm

Need private packages and team management tools?Check out npm Orgs. »

@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

8

version

0.4.0

license

ISC

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability