Repository navigation
fix(@angular/build): only copy root README asset by default - #34417
Conversation
…secondary README assets - Prevent secondary entry-point default `README.md` assets from copying the root or primary `README.md` when sharing `projectRoot` or the primary entry-point directory. - Validate in `normalizeLibraryOptions` that `outputPath` is not equal to `workspaceRoot`, `projectRoot`, or a parent directory of `projectRoot` before `deleteOutputDir` executes. - Canonicalize `workspaceRoot` via `canonicalizePath` to ensure consistent Windows drive-letter casing across compilation and file watching.
…licate secondary README assets
…licate secondary README assets
There was a problem hiding this comment.
Code Review
This pull request updates the library builder options to canonicalize the workspace root path and removes the automatic copying of README.md files for secondary entry points. It also adds comprehensive unit tests to verify that only the root README.md is copied by default and not the ones for secondary entry points. No review comments were provided, so there is no feedback to address.
…licate secondary README assets
|
This PR was merged into the repository. The changes were merged into the following branches:
|
|
This pull request has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Summary
README.md({ glob: 'README.md', input: projectRoot, output: '.' }) in default library assets and remove automatic secondary entry-pointREADME.mdasset rules.