WXL
3 天以前 9bce51f651aad297ef9eb6df832bfdaf1de05d84
node_modules/webpack/lib/ids/DeterministicModuleIdsPlugin.js
@@ -18,6 +18,7 @@
/** @typedef {import("../Module")} Module */
/**
 * Defines the deterministic module ids plugin options type used by this module.
 * @typedef {object} DeterministicModuleIdsPluginOptions
 * @property {string=} context context relative to which module identifiers are computed
 * @property {((module: Module) => boolean)=} test selector function for modules
@@ -31,14 +32,16 @@
class DeterministicModuleIdsPlugin {
   /**
    * Creates an instance of DeterministicModuleIdsPlugin.
    * @param {DeterministicModuleIdsPluginOptions=} options options
    */
   constructor(options = {}) {
      /** @type {DeterministicModuleIdsPluginOptions} */
      this.options = options;
   }
   /**
    * Apply the plugin
    * Applies the plugin by registering its hooks on the compiler.
    * @param {Compiler} compiler the compiler instance
    * @returns {void}
    */