继续执行 webpack.js ,执行: new NodeEnvironmentPlugin({ infrastructureLogging: options.infrastructureLogging }).apply(compiler); 复制代码 该类主要对文件系统做了一些封装,包括 输入,输出,缓存,监听 等等,这些扩展后的方法全部挂载在 compiler 对象下。 注册 plugins 项目配置的 plugins ...
继续执行 webpack.js ,执行: new NodeEnvironmentPlugin({ infrastructureLogging: options.infrastructureLogging }).apply(compiler); 复制代码 该类主要对文件系统做了一些封装,包括 输入,输出,缓存,监听 等等,这些扩展后的方法全部挂载在 compiler 对象下。 注册 plugins 项目配置的 plugins ...