source: trip-planner-front/node_modules/webpack/lib/CommentCompilationWarning.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 729 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
8const WebpackError = require("./WebpackError");
9const makeSerializable = require("./util/makeSerializable");
10
11/** @typedef {import("./Dependency").DependencyLocation} DependencyLocation */
12
13class CommentCompilationWarning extends WebpackError {
14 /**
15 *
16 * @param {string} message warning message
17 * @param {DependencyLocation} loc affected lines of code
18 */
19 constructor(message, loc) {
20 super(message);
21
22 this.name = "CommentCompilationWarning";
23
24 this.loc = loc;
25 }
26}
27
28makeSerializable(
29 CommentCompilationWarning,
30 "webpack/lib/CommentCompilationWarning"
31);
32
33module.exports = CommentCompilationWarning;
Note: See TracBrowser for help on using the repository browser.