Skip to content

Commit afdc577

Browse files
committed
Replace Jsonp- with NodeTemplatePlugin.
1 parent b5c4d9f commit afdc577

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/WebpackOptionsApply.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ WebpackOptionsApply.prototype.process = function(options, compiler) {
117117
var NodeTargetPlugin = require("./node/NodeTargetPlugin");
118118
var ExternalsPlugin = require("./ExternalsPlugin");
119119
compiler.apply(
120-
new JsonpTemplatePlugin(options.output),
120+
new NodeTemplatePlugin(options.output, true),
121121
new FunctionModulePlugin(options.output),
122122
new NodeTargetPlugin(),
123123
new ExternalsPlugin("commonjs", "app"),

0 commit comments

Comments
 (0)