@modularbp/gulp-js
Version:
Bundle ES6 modules with [Rollup] and compile to ES5 with [Babel]
24 lines (19 loc) • 765 B
Markdown
# @modularbp/gulp-js
Bundle ES6 modules with [Rollup] and compile to ES5 with [Babel]
[Rollup]: https://github.com/rollup/rollup
[Babel]: https://github.com/babel/babel
## Install
```sh
npm install @modularbp/gulp-js --save-dev
```
## Dependencies
| Module | Description |
| ------ | ----------- |
| [rollup] | ES module bundler |
| [rollup-plugin-babel] | Compile to ES5 |
| [rollup-plugin-commonjs] | Convert CommonJS modules to ES |
| [rollup-plugin-node-resolve] | Import NPM packages |
[rollup]: https://github.com/rollup/rollup
[rollup-plugin-babel]: https://github.com/rollup/rollup-plugin-babel
[rollup-plugin-commonjs]: https://github.com/rollup/rollup-plugin-commonjs
[rollup-plugin-node-resolve]: https://github.com/rollup/rollup-plugin-node-resolve