You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
453 B

4 years ago
  1. /*
  2. MIT License http://www.opensource.org/licenses/mit-license.php
  3. Author Tobias Koppers @sokra
  4. */
  5. "use strict";
  6. const WebpackError = require("../WebpackError");
  7. class CriticalDependencyWarning extends WebpackError {
  8. constructor(message) {
  9. super();
  10. this.name = "CriticalDependencyWarning";
  11. this.message = "Critical dependency: " + message;
  12. Error.captureStackTrace(this, this.constructor);
  13. }
  14. }
  15. module.exports = CriticalDependencyWarning;