Skip to content
Simple lib bundler
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
bin
src
tests
.babelrc
.editorconfig
.eslintrc.json
.gitignore
.huskyrc
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
LICENSE
README.md
package-lock.json
package.json

README.md

@comandeer/rollup-lib-bundler

Build Status Dependency Status devDependencies Status codecov npm (scoped) Greenkeeper badge

Super opinionated library bundler using Rollup, Babel and babel-minify.

How does it work?

It gets package.json from the current working directory, parses it and get neeeded info:

  • name, author, version and license to create beautiful banner comment,
  • main to get path for saving ES5 bundle,
  • module or jsnext:main for saving ES2015 bundle.

Of course it treats src/index.js as the only entry point for Rollup.

Installation

npm install @comandeer/rollup-lib-bundler --save-dev

Usage

Just make it a npm script:

"scripts": {
	"build": "rlb"
}

Configuration

No configuration. Consider it a feature.

License

See LICENSE file for details.

You can’t perform that action at this time.