"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/ngtools/webpack/src/webpack-diagnostics.ts" between
angular-cli-12.0.3.tar.gz and angular-cli-12.0.4.tar.gz

About: Angular CLI is a command line interface for Angular.

webpack-diagnostics.ts  (angular-cli-12.0.3):webpack-diagnostics.ts  (angular-cli-12.0.4)
/** /**
* @license * @license
* Copyright Google LLC All Rights Reserved. * Copyright Google LLC All Rights Reserved.
* *
* Use of this source code is governed by an MIT-style license that can be * 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 * found in the LICENSE file at https://angular.io/license
*/ */
import { Compilation, WebpackError } from 'webpack'; import type { Compilation } from 'webpack';
export function addWarning(compilation: Compilation, message: string): void { export function addWarning(compilation: Compilation, message: string): void {
compilation.warnings.push(new WebpackError(message)); compilation.warnings.push(new compilation.compiler.webpack.WebpackError(messag e));
} }
export function addError(compilation: Compilation, message: string): void { export function addError(compilation: Compilation, message: string): void {
compilation.errors.push(new WebpackError(message)); compilation.errors.push(new compilation.compiler.webpack.WebpackError(message) );
} }
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)