Socket
Socket
Sign inDemoInstall

grunt-webpack

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-webpack - npm Package Compare versions

Comparing version 0.9.4 to 0.9.5

2

package.json
{
"name": "grunt-webpack",
"description": "Use webpack with grunt.",
"version": "0.9.4",
"version": "0.9.5",
"homepage": "https://github.com/webpack/grunt-webpack",

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

@@ -18,2 +18,4 @@ /*

var targetDependencies = {};
grunt.registerMultiTask('webpack', 'Webpack files.', function() {

@@ -39,2 +41,3 @@ var done = this.async();

var target = this.target;
var cache = options.cache;

@@ -45,4 +48,10 @@ options.cache = false;

if(cache)
if(cache) {
compiler.apply(theCachePlugin);
if(targetDependencies[target]) {
compiler._lastCompilationFileDependencies = targetDependencies[target].file;
compiler._lastCompilationContextDependencies = targetDependencies[target].context;
}
}
var chars = 0;

@@ -65,2 +74,8 @@ compiler.apply(new ProgressPlugin(function(percentage, msg) {

compiler.run(function(err, stats) {
if(cache) {
targetDependencies[target] = {
file: compiler._lastCompilationFileDependencies,
context: compiler._lastCompilationContextDependencies
};
}
if(err) {

@@ -67,0 +82,0 @@ grunt.log.error(err);

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