JSPM

  • Created
  • Published
  • Downloads 6791
  • Score
    100M100P100Q125252F
  • License MIT

Delightful library bundler.

Package Exports

  • bili

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bili) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Bili

NPM version NPM downloads CircleCI codecov donate chat

Delightful library bundler.

Features

  • ๐Ÿš€ Fast, well it's using Rollup anyways.
  • ๐Ÿš— Automatically transforms JS files using Buble/Babel.
  • ๐ŸŽถ Ridiculously easy to use Rollup plugins if you want.
  • ๐Ÿšจ Friendly error logging experience.
preview

Install

# Globally
yarn global add bili
# Locally
yarn add bili --dev

If you prefer npm:

# Globally
npm i -g bili
# Locally
npm i -D bili

Usage

Bundle src/index.js with a single command:

bili

Then you will get ./dist/index.cjs.js. To generate in more formats, try:

bili --format cjs,es,umd,umd-min

Then you will get:

index.js            # UMD format
index.min.js        # Minified UMD format
index.min.js.map    # Sourcemaps for minified UMD format
index.cjs.js        # CommonJS format
index.m.js          # ES module format

Dive into the documentation to see more neat features!

Here're some quick links:

Bundled by Bili

  • cac - Simple yet powerful framework for building command-line interface.
  • vue-final-form - ๐Ÿ High performance subscription-based form state management for Vue.js.
  • babel-preset-vue - Babel preset for transforming Vue JSX.
  • Feel free to submit yours

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

bili ยฉ EGOIST, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).

egoist.moe ยท GitHub @EGOIST ยท Twitter @_egoistlily