source: imaps-frontend/node_modules/webpack/lib/CommentCompilationWarning.js

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: 725 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 * @param {string} message warning message
16 * @param {DependencyLocation} loc affected lines of code
17 */
18 constructor(message, loc) {
19 super(message);
20
21 this.name = "CommentCompilationWarning";
22
23 this.loc = loc;
24 }
25}
26
27makeSerializable(
28 CommentCompilationWarning,
29 "webpack/lib/CommentCompilationWarning"
30);
31
32module.exports = CommentCompilationWarning;
Note: See TracBrowser for help on using the repository browser.