You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@djcsdy Yep, anyway we can improve perf more, we don't need to rewrite it for all extensions https://github.com/softwareventures/resolve-typescript-plugin/blob/main/index.ts#L28, only for ts/cts/mts, so we can add test regexp check, you try to solve it using node_modules regexp because most of js inside there, but JS can be not only in node_modules#1404
@djcsdy Yep, anyway we can improve perf more, we don't need to rewrite it for all extensions https://github.com/softwareventures/resolve-typescript-plugin/blob/main/index.ts#L28, only for
ts
/cts
/mts
, so we can addtest
regexp check, you try to solve it usingnode_modules
regexp because most of js inside there, but JS can be not only innode_modules
You register two hooks https://github.com/softwareventures/resolve-typescript-plugin/blob/main/index.ts#L24, it can be bad for perf if you have a lot of ts files, better to improve regexp and use only one hook
Originally posted by @alexander-akait in #1383 (comment)
The text was updated successfully, but these errors were encountered: