Socket
Socket
Sign inDemoInstall

extract-text-webpack-plugin

Package Overview
Dependencies
206
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.7 to 0.3.8

7

index.js

@@ -250,6 +250,11 @@ /*

}
var counterMap = {};
result.forEach(function(item) {
var module = this.addModule.apply(this, item);
var c = counterMap[item[0]];
var i = item.slice();
i[0] = item[0] + (c || "");
var module = this.addModule.apply(this, i);
extractedChunk.addModule(module);
module.addChunk(extractedChunk);
counterMap[item[0]] = (c || 0) + 1;
}, this);

@@ -256,0 +261,0 @@ };

2

package.json
{
"name": "extract-text-webpack-plugin",
"version": "0.3.7",
"version": "0.3.8",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "Extract text from bundle into a file.",

@@ -43,3 +43,3 @@ # extract text plugin for webpack

* `id` Unique ident for this plugin instance. (For advanded usage only)
* `id` Unique ident for this plugin instance. (For advanded usage only, by default automatic generated)
* `filename` the filename of the result file. May contain `[name]`, `[id]` and `[contenthash]`.

@@ -50,5 +50,7 @@ * `[name]` the name of the chunk

* `options`
* `allChunks` extract all chunks (by default only initial chunks)
* `allChunks` extract from all additional chunks too (by default it extracts only from the initial chunk(s))
* `disable` disables the plugin
The `ExtractTextPlugin` generates an output file per entry, so you must use `[name]`, `[id]` or `[contenthash]` when using multiple entries.
``` javascript

@@ -55,0 +57,0 @@ ExtractTextPlugin.extract([notExtractLoader], loader, [options])

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc