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

copify-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copify-webpack-plugin - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

32

dist/index.js

@@ -112,2 +112,18 @@ 'use strict';

});
}).then(function () {
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;
}
};
})();
}
}).catch(function (err) {

@@ -145,18 +161,2 @@ compilation.errors.push(err);

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.1.0",
"version": "0.1.1",
"description": "Copy files and directories in webpack, supported manifest",

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

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