Socket
Socket
Sign inDemoInstall

grunt-rollup

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-rollup - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

2

package.json
{
"name": "grunt-rollup",
"description": "Grunt plugin for rollup - next-generation ES6 module bundler",
"version": "0.2.2",
"version": "0.3.0",
"homepage": "https://github.com/chrisprice/grunt-rollup",

@@ -6,0 +6,0 @@ "author": {

@@ -48,2 +48,4 @@ # grunt-rollup

To get relative paths, set `sourceMapRelativePaths` to `true`. This sets rollup `sourceMapFile` property, making the sourcemap relative to the output file.
### Usage Examples

@@ -50,0 +52,0 @@

@@ -33,3 +33,4 @@ /*

sourceMap: false,
sourceMapFile: null
sourceMapFile: null,
sourceMapRelativePaths: false
});

@@ -57,2 +58,8 @@

}).then(function(bundle) {
var sourceMapFile = options.sourceMapFile;
if (!sourceMapFile && options.sourceMapRelativePaths) {
sourceMapFile = path.resolve(f.dest);
}
var result = bundle.generate({

@@ -69,3 +76,3 @@ format: options.format,

sourceMap: options.sourceMap,
sourceMapFile: options.sourceMapFile
sourceMapFile: sourceMapFile
});

@@ -72,0 +79,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