WXL
4 天以前 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7
node_modules/webpack/lib/UnhandledSchemeError.js
@@ -8,8 +8,14 @@
const WebpackError = require("./WebpackError");
const makeSerializable = require("./util/makeSerializable");
/**
 * Error raised when webpack encounters a resource URI scheme that no installed
 * plugin knows how to read.
 */
class UnhandledSchemeError extends WebpackError {
   /**
    * Creates an error explaining that the current resource scheme is not
    * supported by the active plugin set.
    * @param {string} scheme scheme
    * @param {string} resource resource
    */
@@ -20,6 +26,7 @@
            `\nYou may need an additional plugin to handle "${scheme}:" URIs.`
      );
      this.file = resource;
      /** @type {string} */
      this.name = "UnhandledSchemeError";
   }
}