Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 113cabb

Browse files
authored
fix: Modules shouldn't be passed to sort (#568)
1 parent 29e1b4c commit 113cabb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class ExtractTextPlugin {
144144
async.forEach(chunks, (chunk, callback) => { // eslint-disable-line no-shadow
145145
const extractedChunk = extractedChunks[chunks.indexOf(chunk)];
146146
const shouldExtract = !!(options.allChunks || isInitialOrHasNoParents(chunk));
147-
chunk.sortModules(module);
147+
chunk.sortModules();
148148
async.forEach(chunk.mapModules(c => c), (module, callback) => { // eslint-disable-line no-shadow
149149
let meta = module[NS];
150150
if (meta && (!meta.options.id || meta.options.id === id)) {

0 commit comments

Comments
 (0)