Skip to content

Commit ab860cd

Browse files
committed
TESTING
1 parent 5af5baa commit ab860cd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/angular/build/src/builders/application/execute-build.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ export async function executeBuild(
181181
}
182182

183183
chunksOptimized = true;
184-
184+
console.log('ORIG INITIAL: ', [...initialFiles.keys()]);
185+
console.log('OPTIM INITIAL: ', [...optimizationResult.initialFiles.keys()]);
185186
bundlingResult = optimizationResult;
186187
}
187188
}

packages/angular/build/src/utils/server-rendering/manifest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ function generateLazyLoadedFilesMappings(
204204
publicPath = '',
205205
): Record<string, string[]> {
206206
const entryPointToBundles: Record<string, string[]> = {};
207+
console.log('METAFILE OUTPUTS: ', Object.keys(metafile.outputs));
207208
for (const [fileName, { entryPoint, exports, imports }] of Object.entries(metafile.outputs)) {
209+
console.log(`FILE: ${fileName}, entryPoint: ${entryPoint}, exports: ${exports?.length}`);
208210
// Skip files that don't have an entryPoint, no exports, or are not .js
209211
if (!entryPoint || exports?.length < 1 || !fileName.endsWith('.js')) {
210212
continue;

0 commit comments

Comments
 (0)