main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
614 bytes
|
Rev | Line | |
---|
[79a0317] | 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 | /**
|
---|
| 13 | * @param {string} message message
|
---|
| 14 | */
|
---|
| 15 | constructor(message) {
|
---|
| 16 | super();
|
---|
| 17 |
|
---|
| 18 | this.name = "CriticalDependencyWarning";
|
---|
| 19 | this.message = `Critical dependency: ${message}`;
|
---|
| 20 | }
|
---|
| 21 | }
|
---|
| 22 |
|
---|
| 23 | makeSerializable(
|
---|
| 24 | CriticalDependencyWarning,
|
---|
| 25 | "webpack/lib/dependencies/CriticalDependencyWarning"
|
---|
| 26 | );
|
---|
| 27 |
|
---|
| 28 | module.exports = CriticalDependencyWarning;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.