1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | "use strict";
|
7 |
|
8 | const WebpackError = require("./WebpackError");
|
9 | const makeSerializable = require("./util/makeSerializable");
|
10 |
|
11 |
|
12 |
|
13 | class UnsupportedFeatureWarning extends WebpackError {
|
14 | |
15 |
|
16 |
|
17 |
|
18 | constructor(message, loc) {
|
19 | super(message);
|
20 |
|
21 | this.name = "UnsupportedFeatureWarning";
|
22 | this.loc = loc;
|
23 | this.hideStack = true;
|
24 | }
|
25 | }
|
26 |
|
27 | makeSerializable(
|
28 | UnsupportedFeatureWarning,
|
29 | "webpack/lib/UnsupportedFeatureWarning"
|
30 | );
|
31 |
|
32 | module.exports = UnsupportedFeatureWarning;
|