René's URL Explorer Experiment


Title: sourcemap file contains relative path calculated from parent of outDir and basePath · Issue #8445 · microsoft/TypeScript · GitHub

Open Graph Title: sourcemap file contains relative path calculated from parent of outDir and basePath · Issue #8445 · microsoft/TypeScript

X Title: sourcemap file contains relative path calculated from parent of outDir and basePath · Issue #8445 · microsoft/TypeScript

Description: Hi from ng-conf! :) TS nightly. alexeagle-macbookpro2:repro_sourceMap alexeagle$ cat some/path/to/src/myfile.ts export let a:string; alexeagle-macbookpro2:repro_sourceMap alexeagle$ cat some/path/to/src/tsconfig.json { "compilerOptions":...

Open Graph Description: Hi from ng-conf! :) TS nightly. alexeagle-macbookpro2:repro_sourceMap alexeagle$ cat some/path/to/src/myfile.ts export let a:string; alexeagle-macbookpro2:repro_sourceMap alexeagle$ cat some/path/t...

X Description: Hi from ng-conf! :) TS nightly. alexeagle-macbookpro2:repro_sourceMap alexeagle$ cat some/path/to/src/myfile.ts export let a:string; alexeagle-macbookpro2:repro_sourceMap alexeagle$ cat some/path/t...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/8445

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"sourcemap file contains relative path calculated from parent of outDir and basePath","articleBody":"Hi from ng-conf! :)\n\nTS nightly.\n\n```\nalexeagle-macbookpro2:repro_sourceMap alexeagle$ cat some/path/to/src/myfile.ts\nexport let a:string;\nalexeagle-macbookpro2:repro_sourceMap alexeagle$ cat some/path/to/src/tsconfig.json\n{\n    \"compilerOptions\": {\n        \"module\": \"commonjs\",\n        \"target\": \"es5\",\n        \"noImplicitAny\": false,\n        \"sourceMap\": true,\n        \"inlineSources\": true,\n        \"outDir\": \"../../../../dist\"\n\n    },\n    \"exclude\": [\n        \"node_modules\"\n    ]\n}\n$ cat dist/myfile.js.map\n{\"version\":3,\"file\":\"myfile.js\",\"sourceRoot\":\"\",\"sources\":[\"../some/path/to/src/myfile.ts\"],\"names\":[],\"mappings\":\";AAAoB\",\"sourcesContent\":[\"export let a:string;\"]}\n```\n\nthe sourceMap contains my private bits \"some/path/to/\" which we would like it not to.\nThis causes devTools in the browser to show a strange path that confuses users.\n\n\u003cimg width=\"265\" alt=\"screen shot 2016-05-03 at 12 52 03 pm\" src=\"https://cloud.githubusercontent.com/assets/47395/14994603/f848909e-112d-11e6-9db0-85279115580f.png\">\n\nThe obvious way to fix this would be the `sourceRoot` option in `tsconfig.json` which we could set to `..` but this is not allowed:\n\n`error TS5053: Option 'sourceRoot' cannot be specified with option 'inlineSources'.`\n\nProposal is that sourceRoot should be allowed with inlineSources. The resulting `.js.map` file would contain a path that doesn't resolve locally on disk, but does work at runtime. (it's similar to the pathMapping feature where design-time filesystem layout does not need to match runtime)\n\ncc @igorminar\n","author":{"url":"https://github.com/alexeagle","@type":"Person","name":"alexeagle"},"datePublished":"2016-05-03T18:56:41Z","url":"https://github.com/microsoft/TypeScript/issues/8445"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a1d3f1c5-e80e-1013-5252-a7b82f21d9d7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id847A:C4AA6:1E1A23:294130:6AFBFF36
html-safe-nonce16cf7cdbfe11b8fe78abcd4e2218432eb8ad2f774d09e11f339e5590aa8afbf5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDdBOkM0QUE2OjFFMUEyMzoyOTQxMzA6NkFGQkZGMzYiLCJ2aXNpdG9yX2lkIjoiMzAzMDI1OTM4OTg1OTEwMDcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4aa9dc33dd2f0f2f1dc64f5a8486b93293baf66d2e82bf4aa022202a455f5db3
hovercard-subject-tagissue:152848728
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/8445/issue_layout
twitter:imagehttps://opengraph.githubassets.com/84eaa764ef1071fe34afa2539c057e0299ef8aac65dc4756b4e6152f9dc9fb6a/microsoft/TypeScript/issues/8445
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/84eaa764ef1071fe34afa2539c057e0299ef8aac65dc4756b4e6152f9dc9fb6a/microsoft/TypeScript/issues/8445
og:image:altHi from ng-conf! :) TS nightly. alexeagle-macbookpro2:repro_sourceMap alexeagle$ cat some/path/to/src/myfile.ts export let a:string; alexeagle-macbookpro2:repro_sourceMap alexeagle$ cat some/path/t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexeagle
hostnamegithub.com
expected-hostnamegithub.com
Nonefa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb3b5633a74535d9c23385512d534c66c8fde1907
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/8445#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F8445
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F8445
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/8445
Reloadhttps://github.com/microsoft/TypeScript/issues/8445
Reloadhttps://github.com/microsoft/TypeScript/issues/8445
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests336 (336)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/pulse
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/8445
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/8445
sourcemap file contains relative path calculated from parent of outDir and basePathhttps://github.com/microsoft/TypeScript/issues/8445#top
https://github.com/sheetalkamat
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
TypeScript 2.0https://github.com/microsoft/TypeScript/milestone/1
https://github.com/alexeagle
Alex Eagle (alexeagle)https://github.com/alexeagle
on May 3, 2016https://github.com/microsoft/TypeScript/issues/8445#issue-152848728
https://cloud.githubusercontent.com/assets/47395/14994603/f848909e-112d-11e6-9db0-85279115580f.png
Igor Minar (@IgorMinar)https://github.com/IgorMinar
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
on Jun 7, 2016https://github.com/microsoft/TypeScript/issues/8445#event-685030410
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 2.0https://github.com/microsoft/TypeScript/milestone/1
on Jun 7, 2016https://github.com/microsoft/TypeScript/issues/8445#event-685030453
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Jun 7, 2016https://github.com/microsoft/TypeScript/issues/8445#event-685030523
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jun 7, 2016https://github.com/microsoft/TypeScript/issues/8445#issuecomment-224427441
Sheetal Nandi (@sheetalkamat)https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Jun 9, 2016https://github.com/microsoft/TypeScript/issues/8445#event-687672009
Allow --sourceRoot with --inlineSources optionhttps://github.com/microsoft/TypeScript/commit/b521fd55a45f1013aca0ba59b0bf7928b3962b31
https://docs.github.com/articles/closing-issues-via-commit-messages
b521fd5https://github.com/microsoft/TypeScript/commit/b521fd55a45f1013aca0ba59b0bf7928b3962b31
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#9057https://github.com/microsoft/TypeScript/pull/9057
on Jun 9, 2016https://github.com/microsoft/TypeScript/issues/8445#event-687922906
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
on Jun 9, 2016https://github.com/microsoft/TypeScript/issues/8445#event-687923167
Yui (yuit)https://github.com/yuit
on Jun 14, 2016https://github.com/microsoft/TypeScript/issues/8445#event-692256479
[Transforms] Merge master 06/06/2016 (#8991)https://github.com/microsoft/TypeScript/commit/f235bf7db8bb2009fe98c28166cf368cff4d68b0
#8991https://github.com/microsoft/TypeScript/pull/8991
https://docs.github.com/articles/closing-issues-via-commit-messages
f235bf7https://github.com/microsoft/TypeScript/commit/f235bf7db8bb2009fe98c28166cf368cff4d68b0
[Transforms] Merge master 06/14/2016 (#9169)https://github.com/microsoft/TypeScript/commit/171ab06cf000094b90f00eda65fce6a586b972c4
#9169https://github.com/microsoft/TypeScript/pull/9169
https://docs.github.com/articles/closing-issues-via-commit-messages
171ab06https://github.com/microsoft/TypeScript/commit/171ab06cf000094b90f00eda65fce6a586b972c4
microsofthttps://github.com/microsoft
on Jun 19, 2018https://github.com/microsoft/TypeScript/issues/8445#event-1689834577
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/8445
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/8445
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
TypeScript 2.0https://github.com/microsoft/TypeScript/milestone/1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.