Socket
Socket
Sign inDemoInstall

clean-webpack-plugin

Package Overview
Dependencies
12
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.11 to 0.1.12

14

index.js

@@ -54,3 +54,3 @@ 'use strict';

Plugin.prototype.apply = function () {
var clean = function () {
var _this = this;

@@ -181,2 +181,14 @@ var results = [];

Plugin.prototype.apply = function (compiler) {
var _this = this;
if (compiler === undefined) {
return clean.call(_this);
}
else {
compiler.plugin("compile", function (params) {
clean.call(_this);
});
}
};
module.exports = Plugin;

2

package.json
{
"name": "clean-webpack-plugin",
"version": "0.1.11",
"version": "0.1.12",
"author": "John Agan <johnagan@gmail.com>",

@@ -5,0 +5,0 @@ "description": "A webpack plugin to remove your build folder(s) before building",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc