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

broccoli-rollup

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-rollup - npm Package Compare versions

Comparing version 1.1.3 to 1.2.0

15

dist/index.js

@@ -84,2 +84,3 @@ 'use strict';

this.linkedModules = false;
this.cache = options.cache === undefined ? true : options.cache;
}

@@ -130,2 +131,7 @@

// If this a noop post initial build, just bail out
if (this._lastBundle && patches.length === 0) {
return;
}
var options = this._loadOptions();

@@ -135,3 +141,5 @@ options.entry = this.cachePath + '/' + options.entry;

return require('rollup').rollup(options).then(function (bundle) {
_this._lastBundle = bundle;
if (_this.cache) {
_this._lastBundle = bundle;
}
_this._buildTargets(bundle, options);

@@ -145,4 +153,5 @@ });

// TODO: support rollup config files
var options = assign({}, this.rollupOptions);
options.cache = this._lastBundle;
var options = assign({
cache: this._lastBundle
}, this.rollupOptions);
return options;

@@ -149,0 +158,0 @@ }

2

package.json
{
"name": "broccoli-rollup",
"version": "1.1.3",
"version": "1.2.0",
"description": "Rollup integration with broccoli",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -14,3 +14,4 @@ # Usage

entry: 'lib/index.js',
dest: 'my-lib.js'
dest: 'my-lib.js',
// cache: true|false Defaults to true
}

@@ -17,0 +18,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