WXL
4 天以前 9bce51f651aad297ef9eb6df832bfdaf1de05d84
node_modules/webpack/lib/node/NodeEnvironmentPlugin.js
@@ -16,6 +16,7 @@
/** @typedef {import("../util/fs").InputFileSystem} InputFileSystem */
/**
 * Defines the node environment plugin options type used by this module.
 * @typedef {object} NodeEnvironmentPluginOptions
 * @property {InfrastructureLogging} infrastructureLogging infrastructure logging options
 */
@@ -24,14 +25,16 @@
class NodeEnvironmentPlugin {
   /**
    * Creates an instance of NodeEnvironmentPlugin.
    * @param {NodeEnvironmentPluginOptions} options options
    */
   constructor(options) {
      /** @type {NodeEnvironmentPluginOptions} */
      this.options = options;
   }
   /**
    * Apply the plugin
    * Applies the plugin by registering its hooks on the compiler.
    * @param {Compiler} compiler the compiler instance
    * @returns {void}
    */