Skip to content

Commit ca60cef

Browse files
authored
Merge pull request faceyspacey#43 from zapier/master
💄 spaces => tabs
2 parents ca45fd4 + f29ac6e commit ca60cef

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

index.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -313,14 +313,14 @@ ExtractTextPlugin.prototype.apply = function(compiler) {
313313
// add the css files to assets and the files array corresponding to its chunks
314314
compilation.plugin("additional-assets", function(callback) {
315315
extractedChunks.forEach(function(extractedChunk) {
316-
if (extractedChunk.getNumberOfModules()) {
317-
extractedChunk.sortModules((a, b) => {
318-
if (!options.ignoreOrder && isInvalidOrder(a, b)) {
319-
compilation.errors.push(new OrderUndefinedError(a.getOriginalModule()));
320-
compilation.errors.push(new OrderUndefinedError(b.getOriginalModule()));
321-
}
322-
return getOrder(a, b);
323-
});
316+
if (extractedChunk.getNumberOfModules()) {
317+
extractedChunk.sortModules((a, b) => {
318+
if (!options.ignoreOrder && isInvalidOrder(a, b)) {
319+
compilation.errors.push(new OrderUndefinedError(a.getOriginalModule()));
320+
compilation.errors.push(new OrderUndefinedError(b.getOriginalModule()));
321+
}
322+
return getOrder(a, b);
323+
});
324324

325325
var stylesheet = this.renderExtractedChunk(extractedChunk);
326326
var chunk = extractedChunk.originalChunk;

0 commit comments

Comments
 (0)