"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/ngtools/webpack/src/angular_compiler_plugin.ts" between
angular-cli-11.0.1.tar.gz and angular-cli-11.0.2.tar.gz

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

angular_compiler_plugin.ts  (angular-cli-11.0.1):angular_compiler_plugin.ts  (angular-cli-11.0.2)
skipping to change at line 788 skipping to change at line 788
); );
aliasHost.aliases.set(normalizedFrom, normalizedWith); aliasHost.aliases.set(normalizedFrom, normalizedWith);
replacements.set(normalizedFrom, normalizedWith); replacements.set(normalizedFrom, normalizedWith);
} }
host = aliasHost; host = aliasHost;
} }
} }
let ngccProcessor: NgccProcessor | undefined; let ngccProcessor: NgccProcessor | undefined;
if (this._compilerOptions.enableIvy) { if (this._compilerOptions.enableIvy) {
const fileWatchPurger = (path: string) => {
// tslint:disable-next-line: no-any
if ((compilerWithFileSystems.inputFileSystem as any).purge) {
// tslint:disable-next-line: no-any
(compilerWithFileSystems.inputFileSystem as any).purge(path);
}
};
ngccProcessor = new NgccProcessor( ngccProcessor = new NgccProcessor(
this._mainFields, this._mainFields,
fileWatchPurger,
this._warnings, this._warnings,
this._errors, this._errors,
this._basePath, this._basePath,
this._tsConfigPath, this._tsConfigPath,
compilerWithFileSystems.inputFileSystem,
compiler.options.resolve?.symlinks,
); );
ngccProcessor.process(); ngccProcessor.process();
} }
// Use an identity function as all our paths are absolute already. // Use an identity function as all our paths are absolute already.
this._moduleResolutionCache = ts.createModuleResolutionCache(this._basePat h, x => x); this._moduleResolutionCache = ts.createModuleResolutionCache(this._basePat h, x => x);
// Create the webpack compiler host. // Create the webpack compiler host.
const webpackCompilerHost = new WebpackCompilerHost( const webpackCompilerHost = new WebpackCompilerHost(
 End of changes. 3 change blocks. 
9 lines changed or deleted 2 lines changed or added

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