ConcurrentCompilationError.js 478 B

123456789101112131415161718192021
  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. 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. /** @type {string} */
  13. this.name = "ConcurrentCompilationError";
  14. }
  15. }
  16. module.exports = ConcurrentCompilationError;