extract-text-webpack-plugin
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -19,2 +19,7 @@ /* | ||
ExtractedModule.prototype.getOrder = function() { | ||
// http://stackoverflow.com/a/14676665/1458162 | ||
return /^@import url/.test(this._source) ? 0 : 1; | ||
}; | ||
ExtractedModule.prototype.addChunk = function(chunk) { | ||
@@ -21,0 +26,0 @@ var idx = this.chunks.indexOf(chunk); |
@@ -85,2 +85,6 @@ /* | ||
function getOrder(a, b) { | ||
var aOrder = a.getOrder(); | ||
var bOrder = b.getOrder(); | ||
if(aOrder < bOrder) return -1; | ||
if(aOrder > bOrder) return 1; | ||
var aIndex = a.getOriginalModule().index2; | ||
@@ -87,0 +91,0 @@ var bIndex = b.getOriginalModule().index2; |
@@ -84,2 +84,5 @@ /* | ||
if(compilation.errors.length > 0) { | ||
return callback(compilation.errors[0]); | ||
} | ||
compilation.fileDependencies.forEach(function(dep) { | ||
@@ -86,0 +89,0 @@ this.addDependency(dep); |
{ | ||
"name": "extract-text-webpack-plugin", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"author": "Tobias Koppers @sokra", | ||
"description": "Extract text from bundle into a file.", | ||
"peerDependencies": { | ||
"webpack": "^1.9.4" | ||
"webpack": "^1.9.11" | ||
}, | ||
"dependencies": { | ||
"async": "~0.2.10", | ||
"source-map": "~0.1.38", | ||
"async": "^1.2.1", | ||
"loader-utils": "~0.2.3" | ||
@@ -13,0 +12,0 @@ }, |
20789
3
9
477
- Removedsource-map@~0.1.38
- Removedsource-map@0.1.43(transitive)
Updatedasync@^1.2.1