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

https://github.com/axross/gulp-rollup-loader


https://github.com/axross/gulp-rollup-loader

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# gulp-rollup-loader

Loader and Bundler using the [rollup](https://github.com/rollup/rollup) for the [gulp](https://github.com/gulpjs/gulp).

## Example

```javascript
import gulp from 'gulp';
import rollup from 'gulp-rollup';

gulp.task('foo', () => {
rollup.src(...sources)
.bundle({ ...options })
.pipe(...) // some gulp plugins
.pipe(gulp.dest);
});

```

## TODO

- [ ] Loading sources using globs
- [ ] Bundling with handy options
- [ ] Returning a vinyl
- [ ] Supporting the sourcemaps with `sourcemap.init({ loadMaps: true })`