File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 55var NodeMainTemplate = require ( "./NodeMainTemplate" ) ;
66var NodeChunkTemplate = require ( "./NodeChunkTemplate" ) ;
77
8- function WebWorkerTemplatePlugin ( options ) {
8+ function NodeTemplatePlugin ( options ) {
99 this . options = options ;
1010}
11- module . exports = WebWorkerTemplatePlugin ;
12- WebWorkerTemplatePlugin . prototype . apply = function ( compiler ) {
11+ module . exports = NodeTemplatePlugin ;
12+ NodeTemplatePlugin . prototype . apply = function ( compiler ) {
1313 var options = this . options ;
1414 compiler . mainTemplate = new NodeMainTemplate ( options ) ;
1515 compiler . chunkTemplate = new NodeChunkTemplate ( options ) ;
@@ -18,4 +18,4 @@ WebWorkerTemplatePlugin.prototype.apply = function(compiler) {
1818 loaderContext . target = "node" ;
1919 } ) ;
2020 } ) ;
21- } ;
21+ } ;
You can’t perform that action at this time.
0 commit comments