Repository navigation
Limit package.json realpath lookup to only successful resolutions - #46209
Wesley Wigham (weswigham) merged 1 commit into
Conversation
|
TypeScript Bot (@typescript-bot) pack this |
|
Heya Wesley Wigham (@weswigham), I've started to run the tarball bundle task on this PR at 2286798. You can monitor the build here. |
|
Hey Wesley Wigham (@weswigham), I've packed this into an installable tgz. You can install it for testing by referencing it in your and then running There is also a playground for this build and an npm module you can use via |
|
Andrew Casey (@amcasey) 's testing shows this to be a pretty significant perf improvement (over the other PR, too), so I'm going to merge this~ |
|
Wesley Wigham (@weswigham) Testing this change, it's about ~55% faster (~35% less build time) than 4.3.5, which is itself is >2x faster than 4.4.3. Is there a way to integrate this into a 4.4.4 release? |
|
Daniel Rosenwasser (@DanielRosenwasser) would be the one to ask~ |
|
Will discuss with Daniel Rosenwasser (@DanielRosenwasser) shortly. TypeScript Bot (@typescript-bot) cherry-pick this to release-4.4 |
|
Heya Andrew Branch (@andrewbranch), I've started to run the task to cherry-pick this into |
|
Hey Andrew Branch (@andrewbranch), I've opened #46230 for you. |
Component commits: 2286798 Limit package.json realpath lookup to only successful resolutions
Component commits: 2286798 Limit package.json realpath lookup to only successful resolutions Co-authored-by: Wesley Wigham <t-weswig@microsoft.com>
To test if this is a possible fix for #46204