Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jridgewell/babel-plugin-bundler

A concatenated module bundler, without redundant UMD boilerplate.
https://github.com/jridgewell/babel-plugin-bundler

Last synced: about 2 months ago
JSON representation

A concatenated module bundler, without redundant UMD boilerplate.

Awesome Lists containing this project

README

        

# babel-plugin-bundler

A concatenated module bundler, without redundant UMD boilerplate.

## Installation

```sh
$ npm install babel-plugin-bundler
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
"plugins": ["bundler"]
}
```

### Via CLI

```sh
$ babel --plugins bundler script.js
```

### Via Node API

```javascript
require("babel-core").transform("code", {
plugins: ["bundler"]
});
```