projecte_ionic/node_modules/@ngtools/webpack/src/webpack-diagnostics.js
2022-02-09 18:30:03 +01:00

19 lines
651 B
JavaScript
Executable file

"use strict";
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.addError = exports.addWarning = void 0;
function addWarning(compilation, message) {
compilation.warnings.push(new compilation.compiler.webpack.WebpackError(message));
}
exports.addWarning = addWarning;
function addError(compilation, message) {
compilation.errors.push(new compilation.compiler.webpack.WebpackError(message));
}
exports.addError = addError;