Delightful library bundler.
- ๐ 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.
# Globally
yarn global add bili
# Locally
yarn add bili --dev
If you prefer npm:
# Globally
npm i -g bili
# Locally
npm i -D bili
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:
- How to use Flow/TypeScript or any compile-to-js language
- How to transpile CSS files
- How to transpile Vue files
- 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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
bili ยฉ EGOIST, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).
egoist.moe ยท GitHub @EGOIST ยท Twitter @_egoistlily