copify-webpack-plugin
Advanced tools
Comparing version 0.0.8 to 0.1.0
@@ -83,18 +83,2 @@ 'use strict'; | ||
var callback = function callback() { | ||
if (options.manifest) { | ||
(function () { | ||
var outputPath = _path2.default.join(options.manifest.path, options.manifest.filename); | ||
var content = options.manifest.processOutput(assetsMap); | ||
compilation.assets[outputPath] = { | ||
size: function size() { | ||
return content.length; | ||
}, | ||
source: function source() { | ||
return content; | ||
} | ||
}; | ||
})(); | ||
} | ||
debug('finishing emit'); | ||
@@ -161,2 +145,18 @@ cb(); | ||
if (options.manifest) { | ||
(function () { | ||
var outputPath = _path2.default.join(options.manifest.path, options.manifest.filename); | ||
var content = options.manifest.processOutput(assetsMap); | ||
compilation.assets[outputPath] = { | ||
size: function size() { | ||
return content.length; | ||
}, | ||
source: function source() { | ||
return content; | ||
} | ||
}; | ||
})(); | ||
} | ||
callback(); | ||
@@ -163,0 +163,0 @@ }); |
{ | ||
"name": "copify-webpack-plugin", | ||
"version": "0.0.8", | ||
"version": "0.1.0", | ||
"description": "Copy files and directories in webpack, supported manifest", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
28795