Title: module_resolution=none or =explicit · Issue #11979 · microsoft/TypeScript · GitHub
Open Graph Title: module_resolution=none or =explicit · Issue #11979 · microsoft/TypeScript
X Title: module_resolution=none or =explicit · Issue #11979 · microsoft/TypeScript
Description: Discussed in-person with Daniel Rosenwasser (@DanielRosenwasser) In google we have performance issues with tsc and with editor plugins. We have tracked this down to the node moduleResolutionKind looking in many locations on a network-mou...
Open Graph Description: Discussed in-person with Daniel Rosenwasser (@DanielRosenwasser) In google we have performance issues with tsc and with editor plugins. We have tracked this down to the node moduleResolutionKind lo...
X Description: Discussed in-person with Daniel Rosenwasser (@DanielRosenwasser) In google we have performance issues with tsc and with editor plugins. We have tracked this down to the node moduleResolutionKind lo...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/11979
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"module_resolution=none or =explicit","articleBody":"Discussed in-person with @DanielRosenwasser \r\n\r\nIn google we have performance issues with tsc and with editor plugins. We have tracked this down to the node moduleResolutionKind looking in many locations on a network-mounted disk.\r\n\r\nWe don't actually want the node moduleResolution, we only want the baseUrl/paths/rootDirs feature known as \"path mapping\". Put another way, we explicitly list locations for all inputs, and we never want the compiler to stat a file outside of the explicit input locations.\r\n\r\nFor tsc, we provide a custom CompilerHost that avoids touching the disk, we implement fileExists and directoryExists purely by consulting our file manifest. However, we can't do this trick for editors, which are becoming increasingly unusable.\r\n\r\nAs an example, we provide interop with Closure Compiler code that declares `goog.module`, by naming these `goog:some.module`. This results in the language services looking for a file like `goog:some.module.d.ts` all over the network-mounted filesystem, even though a later sourceFile in the program has `declare module 'goog:some.module'`\r\n\r\ncc @vikerman @rkirov ","author":{"url":"https://github.com/alexeagle","@type":"Person","name":"alexeagle"},"datePublished":"2016-11-01T20:42:20Z","url":"https://github.com/microsoft/TypeScript/issues/11979"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1b7ef821-1b33-363a-1b5f-8a5658c98c47 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 97EC:33D24F:C4D163:FD8EA5:6B01023C |
| html-safe-nonce | d7c5549be3974e63ecc4a416f80410605fdf9c392a6018db5a76871effd4ae7d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0VDOjMzRDI0RjpDNEQxNjM6RkQ4RUE1OjZCMDEwMjNDIiwidmlzaXRvcl9pZCI6IjIxODc3MjM0OTQ3NDQxOTU2NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3a347b563fe2949a3be30fbd053e847aa42c444993722310dbfa7beb3a17a747 |
| hovercard-subject-tag | issue:186641351 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/11979/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aa96fa0a9908ae6acd9a1c6e488751479f60e626bb6a4721e293749ea01ab588/microsoft/TypeScript/issues/11979 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aa96fa0a9908ae6acd9a1c6e488751479f60e626bb6a4721e293749ea01ab588/microsoft/TypeScript/issues/11979 |
| og:image:alt | Discussed in-person with Daniel Rosenwasser (@DanielRosenwasser) In google we have performance issues with tsc and with editor plugins. We have tracked this down to the node moduleResolutionKind lo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alexeagle |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width