René's URL Explorer Experiment


Title: Support conditional compilation · Issue #449 · microsoft/TypeScript · GitHub

Open Graph Title: Support conditional compilation · Issue #449 · microsoft/TypeScript

X Title: Support conditional compilation · Issue #449 · microsoft/TypeScript

Description: On codeplex this was a popular feature request: https://typescript.codeplex.com/workitem/111 https://typescript.codeplex.com/workitem/1926 Personally I think preprocessor directives like #if, #elif, #else #endif with possibility to speci...

Open Graph Description: On codeplex this was a popular feature request: https://typescript.codeplex.com/workitem/111 https://typescript.codeplex.com/workitem/1926 Personally I think preprocessor directives like #if, #elif...

X Description: On codeplex this was a popular feature request: https://typescript.codeplex.com/workitem/111 https://typescript.codeplex.com/workitem/1926 Personally I think preprocessor directives like #if, #elif...

Mail addresses
notifications@github.com
notifications@github.com

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support conditional compilation","articleBody":"On codeplex this was a popular feature request:\n\nhttps://typescript.codeplex.com/workitem/111\nhttps://typescript.codeplex.com/workitem/1926\n\nPersonally I think preprocessor directives like #if, #elif, #else #endif with possibility to specify symbol to compiler would be very useful.\nAnd a way to mark function (or ambient function declaration) as Conditional (something like [ConditionalAattribute](http://msdn.microsoft.com/en-us/library/system.diagnostics.conditionalattribute%28v=vs.110%29.aspx) in C#) would be great improvement too.\nI have lot's of `console.log` like function calls that decrease performance of my application and ability to easily remove all calls to this function would be great.\n","author":{"url":"https://github.com/mpawelski","@type":"Person","name":"mpawelski"},"datePublished":"2014-08-13T21:59:08Z","url":"https://github.com/microsoft/TypeScript/issues/449"}

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:3757bd5c-f792-d94e-1819-31e979a1f15f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id80CE:395430:6D89BE:933316:6B00D697
html-safe-nonceab4097d8f5cdfa7c86e16dd61804ec6043757eac55f9f670539925dae837e0b3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MENFOjM5NTQzMDo2RDg5QkU6OTMzMzE2OjZCMDBENjk3IiwidmlzaXRvcl9pZCI6IjQwMzc1NDQ1MjQ0ODkyMTc2ODciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacddd07ac3ebe105d343f626c9081e7dd758335fedfe7ecda6e84eee473446c7d7
hovercard-subject-tagissue:40203848
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/449/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f3e8fa9c750b7d0861aa6fe6e4033175741d42073676e30b9bfe85555d6e6423/microsoft/TypeScript/issues/449
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f3e8fa9c750b7d0861aa6fe6e4033175741d42073676e30b9bfe85555d6e6423/microsoft/TypeScript/issues/449
og:image:altOn codeplex this was a popular feature request: https://typescript.codeplex.com/workitem/111 https://typescript.codeplex.com/workitem/1926 Personally I think preprocessor directives like #if, #elif...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamempawelski
hostnamegithub.com
expected-hostnamegithub.com
Nonea481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b
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
release84c8c5cc25e2fb7f2308428458538436baecc6d2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/449#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F449
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%2F449
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/449
Reloadhttps://github.com/microsoft/TypeScript/issues/449
Reloadhttps://github.com/microsoft/TypeScript/issues/449
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests307 (307)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/insights
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/449
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/449
Support conditional compilationhttps://github.com/microsoft/TypeScript/issues/449#top
Needs More InfoThe issue still hasn't been fully clarifiedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20More%20Info%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
https://github.com/mpawelski
Mariusz Pawelski (mpawelski)https://github.com/mpawelski
on Aug 13, 2014https://github.com/microsoft/TypeScript/issues/449#issue-40203848
https://typescript.codeplex.com/workitem/111https://typescript.codeplex.com/workitem/111
https://typescript.codeplex.com/workitem/1926https://typescript.codeplex.com/workitem/1926
ConditionalAattributehttp://msdn.microsoft.com/en-us/library/system.diagnostics.conditionalattribute%28v=vs.110%29.aspx
Nexthttps://github.com/microsoft/TypeScript/issues/449?timeline_page=1
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Suggestionhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
on Aug 18, 2014https://github.com/microsoft/TypeScript/issues/449#event-154115750
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Aug 18, 2014https://github.com/microsoft/TypeScript/issues/449#issuecomment-52542169
design goalhttps://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals
https://github.com/zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)https://github.com/zpdDG4gta8XKpMCd
on Aug 18, 2014https://github.com/microsoft/TypeScript/issues/449#issuecomment-52549324
https://github.com/NoelAbrahams
Noel Abrahams (NoelAbrahams)https://github.com/NoelAbrahams
on Aug 24, 2014https://github.com/microsoft/TypeScript/issues/449#issuecomment-53187591
https://github.com/CyrusNajmabadi
Cyrus Najmabadi (CyrusNajmabadi)https://github.com/CyrusNajmabadi
on Aug 27, 2014https://github.com/microsoft/TypeScript/issues/449#issuecomment-53589071
#449https://github.com/microsoft/TypeScript/issues/449
/issues/449https://github.com/microsoft/TypeScript/issues/449
https://github.com/mpawelski
Mariusz Pawelski (mpawelski)https://github.com/mpawelski
on Aug 28, 2014https://github.com/microsoft/TypeScript/issues/449#issuecomment-53809875
extension methodshttps://github.com/Microsoft/TypeScript/issues/9#issuecomment-52347966
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Aug 28, 2014https://github.com/microsoft/TypeScript/issues/449#issuecomment-53818209
https://github.com/mpawelski
Mariusz Pawelski (mpawelski)https://github.com/mpawelski
on Sep 21, 2014https://github.com/microsoft/TypeScript/issues/449#issuecomment-56317099
often searchedhttps://www.google.pl/search?q=strip+console.log&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:pl:official&client=firefox-a&channel=sb&gfe_rd=cr&ei=9FwfVNXSO8Wg8wf5hoFQ
https://github.com/s-panferov
Stanislav Panferov (s-panferov)https://github.com/s-panferov
on Nov 19, 2014https://github.com/microsoft/TypeScript/issues/449#issuecomment-63621934
examplehttp://rustbyexample.com/attribute/cfg.html
cfg!http://doc.rust-lang.org/std/macro.cfg!.html
this RFChttps://github.com/rust-lang/rfcs/blob/master/text/0016-more-attributes.md
https://github.com/paul-reilly
Paul Reilly (paul-reilly)https://github.com/paul-reilly
on Dec 11, 2014https://github.com/microsoft/TypeScript/issues/449#issuecomment-66701695
Stanislav Panferov (@s-panferov)https://github.com/s-panferov
https://github.com/zpdDG4gta8XKpMCd
ZpdDG4gta (zpdDG4gta8XKpMCd)https://github.com/zpdDG4gta8XKpMCd
on Dec 11, 2014https://github.com/microsoft/TypeScript/issues/449#issuecomment-66709425
Paul Reilly (@paul-reilly)https://github.com/paul-reilly
Stanislav Panferov (@s-panferov)https://github.com/s-panferov
https://github.com/s-panferovhttps://github.com/s-panferov
#449 (comment)https://github.com/microsoft/TypeScript/issues/449#issuecomment-66701695
https://github.com/fletchsod-developer
fletchsod-developerhttps://github.com/fletchsod-developer
on Dec 12, 2014https://github.com/microsoft/TypeScript/issues/449#issuecomment-66777399
https://github.com/jez9999
Jez (jez9999)https://github.com/jez9999
on Jan 20, 2015https://github.com/microsoft/TypeScript/issues/449#issuecomment-70584434
https://github.com/agnauck
Alexander Gnauck (agnauck)https://github.com/agnauck
on Apr 3, 2015https://github.com/microsoft/TypeScript/issues/449#issuecomment-89251357
https://github.com/tohagan
Tony OHagan (tohagan)https://github.com/tohagan
on Jan 19, 2023https://github.com/microsoft/TypeScript/issues/449#issuecomment-1396581298
https://github.com/JessicaMulein
Zefram Cochrane (JessicaMulein)https://github.com/JessicaMulein
on Jun 10, 2023https://github.com/microsoft/TypeScript/issues/449#issuecomment-1585834214
https://github.com/MarcWeber
Marc Weber (MarcWeber)https://github.com/MarcWeber
on Jun 14, 2023https://github.com/microsoft/TypeScript/issues/449#issuecomment-1590661139
https://github.com/zm-cttae
ZM (zm-cttae)https://github.com/zm-cttae
on Jun 18, 2023https://github.com/microsoft/TypeScript/issues/449#issuecomment-1595993462
Marc Weber (@MarcWeber)https://github.com/MarcWeber
https://github.com/qwertie
David Piepgrass (qwertie)https://github.com/qwertie
on Jan 11, 2024https://github.com/microsoft/TypeScript/issues/449#issuecomment-1886088431
https://github.com/tohagan
Tony OHagan (tohagan)https://github.com/tohagan
on Jan 11, 2024https://github.com/microsoft/TypeScript/issues/449#issuecomment-1886270622
https://github.com/qwertie
David Piepgrass (qwertie)https://github.com/qwertie
on Jan 11, 2024https://github.com/microsoft/TypeScript/issues/449#issuecomment-1887589083
https://github.com/matrixcloud
atom (matrixcloud)https://github.com/matrixcloud
on Aug 30, 2024https://github.com/microsoft/TypeScript/issues/449#issuecomment-2321084598
https://github.com/RWeigelt
Roland Weigelt (RWeigelt)https://github.com/RWeigelt
on Oct 7, 2024https://github.com/microsoft/TypeScript/issues/449#issuecomment-2396927216
https://github.com/Rudxain
Ricardo Fernández Serrata (Rudxain)https://github.com/Rudxain
on Nov 13, 2024https://github.com/microsoft/TypeScript/issues/449#issuecomment-2472031504
hard-coding the overloads to force the dev to provide such informationhttps://github.com/Rudxain/ideas/blob/c86e3ed2ee72b9166674516ebbcf179a99d0b2ab/software/sum_impls.ts#L64-L80
https://github.com/denis-migdal
Denis Migdal (denis-migdal)https://github.com/denis-migdal
on Sep 8, 2025https://github.com/microsoft/TypeScript/issues/449#issuecomment-3267116822
Terserhttps://terser.org/
https://github.com/tohagan
Tony OHagan (tohagan)https://github.com/tohagan
on Sep 9, 2025https://github.com/microsoft/TypeScript/issues/449#issuecomment-3268494860
an articlehttps://medium.com/@tony.ohagan/how-to-use-vite-to-create-multiple-vue-react-or-svelte-apps-from-one-code-base-be34d0edf214
https://github.com/denis-migdal
Denis Migdal (denis-migdal)https://github.com/denis-migdal
on Sep 9, 2025https://github.com/microsoft/TypeScript/issues/449#issuecomment-3268679587
Conditional compilation with Terserhttps://github.com/terser/terser?tab=readme-ov-file#conditional-compilation
https://github.com/tohagan
Tony OHagan (tohagan)https://github.com/tohagan
on Sep 10, 2025https://github.com/microsoft/TypeScript/issues/449#issuecomment-3272801375
unplugin-preprocessor-directiveshttps://github.com/KeJunMao/unplugin-preprocessor-directives
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/449
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/449
Needs More InfoThe issue still hasn't been fully clarifiedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20More%20Info%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
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.