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

copy-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copy-webpack-plugin - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

6

dist/index.js

@@ -77,9 +77,9 @@ 'use strict';

var outputPath = compiler.options.devServer.outputPath;
var devServer = compiler.options.devServer;
if (!outputPath || outputPath === '/') {
if (!devServer || !devServer.outputPath || devServer.outputPath === '/') {
throw new Error('CopyWebpackPlugin: to use webpack-dev-server, devServer.outputPath must be defined in the webpack config');
}
return outputPath;
return devServer.outputPath;
};

@@ -86,0 +86,0 @@

{
"name": "copy-webpack-plugin",
"version": "2.1.2",
"version": "2.1.3",
"description": "Copy files and directories in webpack",

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

Sorry, the diff of this file is not supported yet

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