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.3.0 to 0.4.0

10

dist/writeFile.js

@@ -87,6 +87,12 @@ 'use strict';

if (assetsMap && !pattern.excludeFromManifest) {
var manifestFrom = _path2.default.relative(pattern.realContext, file.absoluteFrom);
if (assetsMap && !pattern.excludeFromManifest && pattern.fromType !== 'nonexistent') {
var manifestTo = file.webpackTo;
var manifestFrom = null;
if (pattern.fromType === 'dir' || pattern.fromType === 'file') {
manifestFrom = _path2.default.join(_path2.default.dirname(manifestTo), _path2.default.basename(file.relativeFrom));
} else if (pattern.fromType === 'glob') {
manifestFrom = file.relativeFrom;
}
if (pattern.manifestBasePath) {

@@ -93,0 +99,0 @@ manifestFrom = _path2.default.join(pattern.manifestBasePath, manifestFrom);

2

package.json
{
"name": "copify-webpack-plugin",
"version": "0.3.0",
"version": "0.4.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