fix(ngcc): do not write entry-point manifest outside node_modules (#36299)
Fixes #36296 PR Close #36299
This commit is contained in:

committed by
Alex Rickabaugh

parent
5ac308060d
commit
c6dd900f60
@ -99,6 +99,10 @@ export class EntryPointManifest {
|
||||
* @param entryPoints A collection of entry-points to record in the manifest.
|
||||
*/
|
||||
writeEntryPointManifest(basePath: AbsoluteFsPath, entryPoints: EntryPoint[]): void {
|
||||
if (this.fs.basename(basePath) !== 'node_modules') {
|
||||
return;
|
||||
}
|
||||
|
||||
const lockFileHash = this.computeLockFileHash(basePath);
|
||||
if (lockFileHash === null) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user