@@ -13,7 +13,6 @@ const MultiCompiler = require("./MultiCompiler");
13
13
const WebpackOptionsApply = require ( "./WebpackOptionsApply" ) ;
14
14
const WebpackOptionsDefaulter = require ( "./WebpackOptionsDefaulter" ) ;
15
15
const WebpackOptionsValidationError = require ( "./WebpackOptionsValidationError" ) ;
16
- const NodeEnvironmentPlugin = require ( "./node/NodeEnvironmentPlugin" ) ;
17
16
const validateSchema = require ( "./validateSchema" ) ;
18
17
const webpack = require ( "./webpack" ) ;
19
18
@@ -23,7 +22,6 @@ exports.WebpackOptionsDefaulter = WebpackOptionsDefaulter;
23
22
exports . WebpackOptionsValidationError = WebpackOptionsValidationError ;
24
23
exports . Compiler = Compiler ;
25
24
exports . MultiCompiler = MultiCompiler ;
26
- exports . NodeEnvironmentPlugin = NodeEnvironmentPlugin ;
27
25
exports . validate = validateSchema . bind ( null , webpackOptionsSchema ) ;
28
26
exports . validateSchema = validateSchema ;
29
27
exports . version = version ;
@@ -123,6 +121,7 @@ exportPlugins((exports.webworker = {}), {
123
121
} ) ;
124
122
125
123
exportPlugins ( ( exports . node = { } ) , {
124
+ NodeEnvironmentPlugin : ( ) => require ( "./node/NodeEnvironmentPlugin" ) ,
126
125
NodeTemplatePlugin : ( ) => require ( "./node/NodeTemplatePlugin" ) ,
127
126
ReadFileCompileWasmPlugin : ( ) => require ( "./node/ReadFileCompileWasmPlugin" )
128
127
} ) ;
0 commit comments