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.0.8 to 0.1.0

32

dist/index.js

@@ -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",

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