Last change
on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
568 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | /*
|
---|
| 2 | MIT License http://www.opensource.org/licenses/mit-license.php
|
---|
| 3 | Author Tobias Koppers @sokra
|
---|
| 4 | */
|
---|
| 5 |
|
---|
| 6 | "use strict";
|
---|
| 7 |
|
---|
| 8 | const WebpackError = require("../WebpackError");
|
---|
| 9 | const makeSerializable = require("../util/makeSerializable");
|
---|
| 10 |
|
---|
| 11 | class CriticalDependencyWarning extends WebpackError {
|
---|
| 12 | constructor(message) {
|
---|
| 13 | super();
|
---|
| 14 |
|
---|
| 15 | this.name = "CriticalDependencyWarning";
|
---|
| 16 | this.message = "Critical dependency: " + message;
|
---|
| 17 | }
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | makeSerializable(
|
---|
| 21 | CriticalDependencyWarning,
|
---|
| 22 | "webpack/lib/dependencies/CriticalDependencyWarning"
|
---|
| 23 | );
|
---|
| 24 |
|
---|
| 25 | module.exports = CriticalDependencyWarning;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.