Skip to content

Commit

Permalink
Merge pull request #2 from webpack-contrib/master
Browse files Browse the repository at this point in the history
fix: add missing `options.ignoreOrder` details in Error message (webpack-contrib#539)
  • Loading branch information
MirrorBytes committed Jun 13, 2017
2 parents 018da67 + dd43832 commit 037bfb6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.js
Expand Up @@ -120,7 +120,8 @@ function ExtractTextPlugin(options) {
"The available options are:\n" +
" filename: string\n" +
" allChunks: boolean\n" +
" disable: boolean\n");
" disable: boolean\n" +
" ignoreOrder: boolean\n");
}
if(isString(options)) {
options = { filename: options };
Expand Down Expand Up @@ -337,7 +338,7 @@ ExtractTextPlugin.prototype.apply = function(compiler) {
});

var file = (isFunction(filename)) ? filename(getPath) : getPath(filename);

compilation.assets[file] = source;
chunk.files.push(file);
}
Expand Down

0 comments on commit 037bfb6

Please sign in to comment.