Skip to content

Commit e046a37

Browse files
RobinMalfaitadamwathanthecrypticace
authored
Improve bundle size by replacing detective-typescript (#10825)
* replace `detective-typescript` with our own implementation We are not parsing the code but just trying to pluck out the dependencies used via `import` and `require`. * drop `detective-typescript` * return a `Set` instead of an `Array` * resolve rebuilds, but log errors in case they occur This won't be the prettiest if it happens, but at least we are not swallowing errors which should make bugs be easier to discover. See previous commit for an example... 😅 Co-authored-by: Adam Wathan <[email protected]> Co-authored-by: Jordan Pittman <[email protected]>
1 parent 6a2c58a commit e046a37

File tree

6 files changed

+278
-837
lines changed

6 files changed

+278
-837
lines changed

0 commit comments

Comments
 (0)