Skip to content

Commit ada40f5

Browse files
Remove useless arguments to NodeTemplatePlugin.
This `options` parameter was set in `webpack-1` and even then it was set to be deprecated. I don't think this is used for anything anymore.
1 parent 2322e97 commit ada40f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module.exports.pitch = function(request) {
6060
publicPath: publicPath || this._compilation.outputOptions.publicPath,
6161
};
6262
var childCompiler = this._compilation.createChildCompiler("extract-text-webpack-plugin", outputOptions);
63-
childCompiler.apply(new NodeTemplatePlugin(outputOptions));
63+
childCompiler.apply(new NodeTemplatePlugin());
6464
childCompiler.apply(new LibraryTemplatePlugin(null, "commonjs2"));
6565
childCompiler.apply(new NodeTargetPlugin());
6666
childCompiler.apply(new SingleEntryPlugin(this.context, "!!" + request));

0 commit comments

Comments
 (0)