Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const makeSerializable = require("../util/makeSerializable");
const WebpackError = require("./WebpackError");
/** @typedef {import("../Dependency").DependencyLocation} DependencyLocation */
class UnsupportedFeatureWarning extends WebpackError {
/**
* Creates an instance of UnsupportedFeatureWarning.
* @param {string} message description of warning
* @param {DependencyLocation} loc location start and end positions of the module
*/
constructor(message, loc) {
super(message);
/** @type {string} */
this.name = "UnsupportedFeatureWarning";
/** @type {DependencyLocation} */
this.loc = loc;
/** @type {boolean} */
this.hideStack = true;
}
}
makeSerializable(
UnsupportedFeatureWarning,
"webpack/lib/errors/UnsupportedFeatureWarning"
);
module.exports = UnsupportedFeatureWarning;