"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/angular_devkit/build_angular/src/webpack/plugins/scripts-webpack-plugin.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.

scripts-webpack-plugin.ts  (angular-cli-12.0.3):scripts-webpack-plugin.ts  (angular-cli-12.0.4)
skipping to change at line 116 skipping to change at line 116
addDependencies(compilation, scripts); addDependencies(compilation, scripts);
return; return;
} }
const sourceGetters = scripts.map((fullPath) => { const sourceGetters = scripts.map((fullPath) => {
return new Promise<webpackSources.Source>((resolve, reject) => { return new Promise<webpackSources.Source>((resolve, reject) => {
compilation.inputFileSystem.readFile( compilation.inputFileSystem.readFile(
fullPath, fullPath,
(err?: Error, data?: string | Buffer) => { (err?: Error | null, data?: string | Buffer) => {
if (err) { if (err) {
reject(err); reject(err);
return; return;
} }
const content = data?.toString() ?? ''; const content = data?.toString() ?? '';
let source; let source;
if (this.options.sourceMap) { if (this.options.sourceMap) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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