Features
π Fast, zero-config by default.π¦ Using Rollup under the hood.π Automatically transforms JS files using Buble/Babel.π Built-in support forCSS
Sass
Stylus
Less
CSS modules
.πΆ Ridiculously easy to use Rollup plugins if you want.π¨ Friendly error logging experience.
In umd
format it inlines node modules (could be turned off) so it takes a bit longer.
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.es.js # ES module format
Dive into the documentation to see more neat features!
Here're some quick links:
- How to use Rollup plugins
- How to use Flow/TypeScript or any compile-to-js language
- How to transpile CSS files
- How to transpile Vue files
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.
- uncouple - A simple lib to uncouple prototype methods.
- cullender - A simple and composable way to filter data.
- vuex-handler - A vuex plugin to globally handle actions successes and failures.
- gulp-html-accents - A gulp plugin that parse accents and special characters to HTMLEntities.
- vue-data-tablee - A pretty simple Vue DataTable component with some features like sort and select rows.
- vue-uuid - Vue plugin to add UUID methods to Vue instance.
- vue-gh-corners -
GitHub Corners for Vue.
- Feel free to submit yours
Contributing
- 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
Author
bili Β© EGOIST, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).
egoist.moe Β· GitHub @EGOIST Β· Twitter @_egoistlily