WXL
4 天以前 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7
node_modules/webpack/lib/dependencies/RequireContextPlugin.js
@@ -26,7 +26,7 @@
class RequireContextPlugin {
   /**
    * Apply the plugin
    * Applies the plugin by registering its hooks on the compiler.
    * @param {Compiler} compiler the compiler instance
    * @returns {void}
    */
@@ -49,6 +49,7 @@
            );
            /**
             * Handles the hook callback for this code path.
             * @param {Parser} parser parser parser
             * @param {JavascriptParserOptions} parserOptions parserOptions
             * @returns {void}
@@ -86,6 +87,7 @@
                     )
                  ).options;
                  /** @type {{ context: string, request: string }[]} */
                  let newItems;
                  if (!finalResolveOptions.fullySpecified) {
                     newItems = [];