|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
699 bytes
|
| Line | |
|---|
| 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("../errors/WebpackError");
|
|---|
| 9 | const makeSerializable = require("../util/makeSerializable");
|
|---|
| 10 |
|
|---|
| 11 | class CriticalDependencyWarning extends WebpackError {
|
|---|
| 12 | /**
|
|---|
| 13 | * Creates an instance of CriticalDependencyWarning.
|
|---|
| 14 | * @param {string} message message
|
|---|
| 15 | */
|
|---|
| 16 | constructor(message) {
|
|---|
| 17 | super();
|
|---|
| 18 |
|
|---|
| 19 | /** @type {string} */
|
|---|
| 20 | this.name = "CriticalDependencyWarning";
|
|---|
| 21 | this.message = `Critical dependency: ${message}`;
|
|---|
| 22 | }
|
|---|
| 23 | }
|
|---|
| 24 |
|
|---|
| 25 | makeSerializable(
|
|---|
| 26 | CriticalDependencyWarning,
|
|---|
| 27 | "webpack/lib/dependencies/CriticalDependencyWarning"
|
|---|
| 28 | );
|
|---|
| 29 |
|
|---|
| 30 | module.exports = CriticalDependencyWarning;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.