ConcurrentCompilationError.js 426 B

123456789101112131415161718
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Maksim Nazarjev @acupofspirt
  4. */
  5. "use strict";
  6. const WebpackError = require("./WebpackError");
  7. module.exports = class ConcurrentCompilationError extends WebpackError {
  8. constructor() {
  9. super(
  10. "You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."
  11. );
  12. this.name = "ConcurrentCompilationError";
  13. }
  14. };