rollib

Zero-configuration build tool for build a library, base on Rollup.

Usage no npm install needed!

<script type="module">
  import rollib from 'https://cdn.skypack.dev/rollib';
</script>

README

Rollib

Zero-configuration build tool for build a library, base on Rollup.

Features

  • support TypeScript, React.
  • support Less, Sass, Stylus.
  • multiple entry and output.
  • zero-configuration.

Installation

npm install -D rollib

Set up build script

{
  "scripts": {
    "build": "rollib"
  }
}

Configuration

// rollib.config.js
export default {
  entry: "src/index.js"
}