Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jridgewell/babel-plugin-bundler
- Owner: jridgewell
- License: mit
- Created: 2015-07-28T03:54:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-06T02:34:47.000Z (over 9 years ago)
- Last Synced: 2024-10-19T18:48:31.315Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 137 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"]
});
```