Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
21
my-app/node_modules/license-webpack-plugin/dist/Logger.js
generated
vendored
Executable file
21
my-app/node_modules/license-webpack-plugin/dist/Logger.js
generated
vendored
Executable file
|
@ -0,0 +1,21 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Logger = void 0;
|
||||
var Logger = /** @class */ (function () {
|
||||
function Logger(stats) {
|
||||
this.stats = stats;
|
||||
}
|
||||
Logger.prototype.warn = function (compilation, message) {
|
||||
if (this.stats.warnings) {
|
||||
compilation.warnings.push("" + Logger.LOG_PREFIX + message);
|
||||
}
|
||||
};
|
||||
Logger.prototype.error = function (compilation, message) {
|
||||
if (this.stats.errors) {
|
||||
compilation.errors.push("" + Logger.LOG_PREFIX + message);
|
||||
}
|
||||
};
|
||||
Logger.LOG_PREFIX = 'license-webpack-plugin: ';
|
||||
return Logger;
|
||||
}());
|
||||
exports.Logger = Logger;
|
Loading…
Add table
Add a link
Reference in a new issue