1 parent d03203d commit 4bf2ba4Copy full SHA for 4bf2ba4
1 file changed
lib/optimize/CommonsChunkPlugin.js
@@ -32,7 +32,7 @@ function CommonsChunkPlugin(options) {
32
this.minChunks = options.minChunks;
33
this.selectedChunks = options.chunks;
34
if(options.children) this.selectedChunks = false;
35
- this.asyncOption = options.async;
+ this.async = options.async;
36
this.minSize = options.minSize;
37
this.ident = __filename + (nextIdent++);
38
}
@@ -43,7 +43,7 @@ CommonsChunkPlugin.prototype.apply = function(compiler) {
43
var filenameTemplate = this.filenameTemplate;
44
var minChunks = this.minChunks;
45
var selectedChunks = this.selectedChunks;
46
- var asyncOption = this.asyncOption;
+ var asyncOption = this.async;
47
var minSize = this.minSize;
48
var ident = this.ident;
49
compiler.plugin("this-compilation", function(compilation) {
0 commit comments