grunt-rollup
Advanced tools
Comparing version 3.3.0 to 4.0.0
{ | ||
"name": "grunt-rollup", | ||
"description": "Grunt plugin for rollup - next-generation ES6 module bundler", | ||
"version": "3.3.0", | ||
"version": "4.0.0", | ||
"homepage": "https://github.com/chrisprice/grunt-rollup", | ||
@@ -39,4 +39,4 @@ "author": { | ||
"dependencies": { | ||
"rollup": "0.47.4" | ||
"rollup": "0.48.2" | ||
} | ||
} |
@@ -21,2 +21,3 @@ /* | ||
var options = this.options({ | ||
cache: null, | ||
external: [], | ||
@@ -33,4 +34,6 @@ format: 'es', | ||
intro: null, | ||
preferConst: false, | ||
outro: null, | ||
onwarn: null, | ||
paths: null, | ||
plugins:[], | ||
@@ -40,3 +43,4 @@ pureExternalModules: false, | ||
sourceMapFile: null, | ||
sourceMapRelativePaths: false | ||
sourceMapRelativePaths: false, | ||
treeshake: true | ||
}); | ||
@@ -69,3 +73,4 @@ | ||
return rollup.rollup({ | ||
entry: entry, | ||
cache: options.cache, | ||
input: entry, | ||
external: options.external, | ||
@@ -76,3 +81,5 @@ plugins: plugins, | ||
onwarn: options.onwarn, | ||
pureExternalModules: options.pureExternalModules | ||
preferConst: options.preferConst, | ||
pureExternalModules: options.pureExternalModules, | ||
treeshake: options.treeshake | ||
}).then(function(bundle) { | ||
@@ -88,7 +95,8 @@ | ||
exports: options.exports, | ||
paths: options.paths, | ||
moduleId: options.moduleId, | ||
moduleName: options.moduleName, | ||
name: options.moduleName, | ||
globals: options.globals, | ||
indent: options.indent, | ||
useStrict: options.useStrict, | ||
strict: options.useStrict, | ||
banner: options.banner, | ||
@@ -98,4 +106,4 @@ footer: options.footer, | ||
outro: options.outro, | ||
sourceMap: options.sourceMap, | ||
sourceMapFile: sourceMapFile | ||
sourcemap: options.sourceMap, | ||
sourcemapFile: sourceMapFile | ||
}); | ||
@@ -102,0 +110,0 @@ }).then(function(result) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
108
31374
+ Addedrollup@0.48.2(transitive)
- Removedrollup@0.47.4(transitive)
Updatedrollup@0.48.2