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

ignore-emit-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ignore-emit-webpack-plugin - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "ignore-emit-webpack-plugin",
"version": "0.2.0",
"version": "0.2.1",
"description": "Prevents ignored files from being emitted during a Webpack build",

@@ -5,0 +5,0 @@ "main": "ignore-emit-webpack-plugin.js",

@@ -7,3 +7,3 @@ # Ignore Emit Webpack plugin

Even though it was tested with webpack 3 and works great,
the deep implication of this are not perfectly clear to me
you can easily ignore file by accident - use with care.

@@ -13,2 +13,3 @@ ## Quick Usage

```sh
npm i --save-dev ignore-emit-webpack-plugin

@@ -23,3 +24,3 @@ ```

// ...
plugins: [new IgnoreEmitPlugin(/\.map$/)]
plugins: [ new IgnoreEmitPlugin(/\.map$/) ]
// ...

@@ -38,3 +39,3 @@ };

- patterns `{RegExp|string|Array.<RegExp|string>}` - regex, string or array with mixed regex/strings (deep nesting allowed),
- **patterns** `{RegExp|string|Array.<RegExp|string>}` - regex, string or array with mixed regex/strings (deep nesting allowed),
to match against the **OUTPUT** path of assets.

@@ -59,3 +60,3 @@

new IgnoreEmitPlugin('file.js'); // both file.js and dir/file.js ignored
new IgnoreEmitPlugin('file.js'); // both file.js and dir/file.js ignored
new IgnoreEmitPlugin(/\/file\.js/); // only dir/file.js is ignored

@@ -66,4 +67,4 @@ new IgnoreEmitPlugin(/^file\.js/); // only file.js is ignored

- options `{object}` - optional, options object
- options.debug `{boolean}` - optional, prints extra logs
- **options** `{object}` - optional, options object
- options.debug `{boolean}` - prints extra logs

@@ -70,0 +71,0 @@ ## I want to help!

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