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.1.1 to 0.1.2

4

index.js

@@ -54,3 +54,3 @@ /*

async.forEach(chunk.modules, function(module, callback) {
var meta = module.meta[__dirname];
var meta = module.meta && module.meta[__dirname];
if(meta) {

@@ -90,2 +90,2 @@ var wasExtracted = typeof meta.text === "string";

}.bind(this));
};
};
{
"name": "extract-text-webpack-plugin",
"version": "0.1.1",
"version": "0.1.2",
"author": "Tobias Koppers @sokra",

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

@@ -11,2 +11,3 @@ # extract text plugin for webpack

{ test: /\.css$/, loaders: [
ExtractTextPlugin.loader({remove:true, extract: false}),
"style-loader",

@@ -30,10 +31,13 @@ ExtractTextPlugin.loader(),

* `id` TODO
* `id` Unique ident for this plugin instance. (For advanded usage only)
* `filename` the filename of the result file. May contain `[name]`.
* `options` TODO
* `options`
* `allChunks` extract all chunks (by default only initial chunks)
There is also a `loader` function on the instance. You should use this if you have more than one ExtractTextPlugin.
**NOTE: Currently you MUST set `allChunks` to `true`.**
## License
MIT (http://www.opensource.org/licenses/mit-license.php)
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