-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bundling): Correct declarationRootDir handling for esbuild
Refine declarationDir logic for esbuild plugin as follows - IF no custom declaration root AND outDir structure mirrors {projectRoot} e.g if project root packages/mylib and output directory is dist/packages/mylib THEN we adjust declarationDir to place types in outDir - ELSE if we have specified a custom declarationRootDir, place declarations in outDir Add test to check for the case when declarationDir id specified. Closes #28814.
- Loading branch information
1 parent
0d1c960
commit 048504a
Showing
4 changed files
with
61 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters