UI for Zipcoin Blue

AsyncDependencyToInitialChunkWarning.js 642B

12345678910111213141516171819202122
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Sean Larkin @thelarkinn
  4. */
  5. "use strict";
  6. const WebpackError = require("./WebpackError");
  7. module.exports = class AsyncDependencyToInitialChunkWarning extends WebpackError {
  8. constructor(chunkName, module, loc) {
  9. super();
  10. this.name = "AsyncDependencyToInitialChunkWarning";
  11. this.message = `It's not allowed to load an initial chunk on demand. The chunk name "${chunkName}" is already used by an entrypoint.`;
  12. this.module = module;
  13. this.origin = module;
  14. this.originLoc = loc;
  15. Error.captureStackTrace(this, this.constructor);
  16. }
  17. };