Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-better-rollup

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-better-rollup - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

8

index.js

@@ -6,3 +6,2 @@ 'use strict'

var PluginError = require('plugin-error')
var rollup = require('rollup')
var path = require('path')

@@ -14,2 +13,9 @@ var applySourceMap = require('vinyl-sourcemaps-apply')

try {
var rollup = require('rollup')
} catch(err) {
console.error('ROLLUP NOT FOUND')
console.warn(`${PLUGIN_NAME} doesn't include rollup out of the box anymore. You need to install your own rollup. Version 1.0.0 or higher.`)
}
// map object storing rollup cache objects for each input file

@@ -16,0 +22,0 @@ var rollupCache = new Map

2

package.json
{
"name": "gulp-better-rollup",
"version": "4.0.0",
"version": "4.0.1",
"description": "Better Gulp plugin for Rollup ES6 module bundler",

@@ -5,0 +5,0 @@ "author": "Mike Kovarik",

@@ -26,2 +26,8 @@ # gulp-better-rollup

You also need to install your own rollup (version 1.x.x). `gulp-better-rollup` depends on your `rollup` as a peer-dependency.
```
npm install rollup@^1 --save-dev
```
## Usage

@@ -97,18 +103,2 @@

`rollup` allows injection of custom rollup version.
```js
const betterRollup = require('gulp-better-rollup');
gulp.task('lib-build', () => {
gulp.src('lib/index.js')
.pipe(betterRollup({
rollup: require('rollup')
plugins: [babel()],
format: 'cjs',
...
}))
})
```
#### `outputOptions`

@@ -115,0 +105,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc