extract-text-webpack-plugin
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -50,3 +50,3 @@ /* | ||
return this._prevModules; | ||
} | ||
}; | ||
@@ -59,1 +59,5 @@ ExtractedModule.prototype.addPrevModules = function(prevModules) { | ||
}; | ||
ExtractedModule.prototype.setOriginalModule = function(originalModule) { | ||
this._originalModule = originalModule; | ||
}; |
10
index.js
@@ -46,2 +46,5 @@ /* | ||
m.addPrevModules(prevModules); | ||
if(originalModule.index2 < m.getOriginalModule().index2) { | ||
m.setOriginalModule(originalModule); | ||
} | ||
} | ||
@@ -70,3 +73,4 @@ return m; | ||
chunk.modules.forEach(function(module) { | ||
source.add(this.applyAdditionalInformation(module.source(), module.additionalInformation)); | ||
var moduleSource = module.source(); | ||
source.add(this.applyAdditionalInformation(moduleSource, module.additionalInformation)); | ||
}, this); | ||
@@ -87,2 +91,6 @@ return source; | ||
if(aIndex > bIndex) return 1; | ||
var bBeforeA = a.getPrevModules().indexOf(b) >= 0; | ||
var aBeforeB = b.getPrevModules().indexOf(a) >= 0; | ||
if(aBeforeB && !bBeforeA) return -1; | ||
if(!aBeforeB && bBeforeA) return 1; | ||
var ai = a.identifier(); | ||
@@ -89,0 +97,0 @@ var bi = b.identifier(); |
{ | ||
"name": "extract-text-webpack-plugin", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"author": "Tobias Koppers @sokra", | ||
@@ -25,8 +25,3 @@ "description": "Extract text from bundle into a file.", | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "http://www.opensource.org/licenses/mit-license.php" | ||
} | ||
] | ||
"license": "MIT" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20173
466