René's URL Explorer Experiment


Title: Can we have an example that builds a node package of components for use in a SPA · Issue #142 · microsoft/TypeScriptSamples · GitHub

Open Graph Title: Can we have an example that builds a node package of components for use in a SPA · Issue #142 · microsoft/TypeScriptSamples

X Title: Can we have an example that builds a node package of components for use in a SPA · Issue #142 · microsoft/TypeScriptSamples

Description: Reading through the docs and googling I've yet to find a good example of this. The main clarification needed is what TSC options to use in the package creation when it's not for use by node but using node as the dev platform in a bundler...

Open Graph Description: Reading through the docs and googling I've yet to find a good example of this. The main clarification needed is what TSC options to use in the package creation when it's not for use by node but usi...

X Description: Reading through the docs and googling I've yet to find a good example of this. The main clarification needed is what TSC options to use in the package creation when it's not for use by node...

Opengraph URL: https://github.com/microsoft/TypeScriptSamples/issues/142

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can we have an example that builds a node package of components for use in a SPA","articleBody":"Reading through the docs and googling I've yet to find a good example of this. The main clarification needed is what TSC options to use in the package creation when it's not for use by node but using node as the dev platform in a bundler/transpiler like webpack. The package should then be usable from TS or javascript (do will be JS + typingsm not ts files). Ideally a UMD version would be included for use from browser global scripts\r\n\r\nMy exact use case is to create a set of TS components released as a npm package that can be used when building a SPA style app using webpack which also use TS. In other words, need to build and consume a TS module that is published via npm and used in code transpiled to ES5 to run in a web conext (TS + babel using webpack). \r\n\r\nI'm actually using CycleJS but I'd be happy for an extended version of the react example that uses a separately published package for part of it's functionality. \r\n\r\nI've no doubt this is easy to achieve but so far I have failed. Even pointer to an example would be useful\r\n\r\nThanks","author":{"url":"https://github.com/SteveALee","@type":"Person","name":"SteveALee"},"datePublished":"2017-04-24T10:08:29Z","url":"https://github.com/microsoft/TypeScriptSamples/issues/142"}

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:16219ae1-5c0b-cc93-5c30-218e9e724375
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id85E8:30975F:2A5FA4:3A0D35:6B044BCC
html-safe-noncefaa899ed4142148db84282fc66a7a7745d8955b631238dfa935b30936e99501e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUU4OjMwOTc1RjoyQTVGQTQ6M0EwRDM1OjZCMDQ0QkNDIiwidmlzaXRvcl9pZCI6IjYxMzQ1NjU2NzQwMTU4MDQzNjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb709bdf9bd3e40cf021b0ddbf1306452bc3c48578c9a9fd9838c0b8a91fc2023
hovercard-subject-tagissue:223768063
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/TypeScriptSamples/142/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4bb07d10f337b8a62b10c42691ad7c4f3c222e0f71470b88507cabe6295fa412/microsoft/TypeScriptSamples/issues/142
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4bb07d10f337b8a62b10c42691ad7c4f3c222e0f71470b88507cabe6295fa412/microsoft/TypeScriptSamples/issues/142
og:image:altReading through the docs and googling I've yet to find a good example of this. The main clarification needed is what TSC options to use in the package creation when it's not for use by node but usi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSteveALee
hostnamegithub.com
expected-hostnamegithub.com
None002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScriptSamples git https://github.com/microsoft/TypeScriptSamples.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id21831014
octolytics-dimension-repository_nwomicrosoft/TypeScriptSamples
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21831014
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScriptSamples
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
release059f24c781e3a0d7df3f27a97da0e93fab06ae39
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScriptSamples/issues/142#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScriptSamples%2Fissues%2F142
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%2FTypeScriptSamples%2Fissues%2F142
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%2FTypeScriptSamples
Reloadhttps://github.com/microsoft/TypeScriptSamples/issues/142
Reloadhttps://github.com/microsoft/TypeScriptSamples/issues/142
Reloadhttps://github.com/microsoft/TypeScriptSamples/issues/142
microsofthttps://github.com/microsoft
TypeScriptSampleshttps://github.com/microsoft/TypeScriptSamples
Codehttps://github.com/microsoft/TypeScriptSamples
Issues30 (30)https://github.com/microsoft/TypeScriptSamples/issues
Pull requests6 (6)https://github.com/microsoft/TypeScriptSamples/pulls
Actionshttps://github.com/microsoft/TypeScriptSamples/actions
Projectshttps://github.com/microsoft/TypeScriptSamples/projects
Security and qualityhttps://github.com/microsoft/TypeScriptSamples/security
Insightshttps://github.com/microsoft/TypeScriptSamples/insights
https://github.com/microsoft/TypeScriptSamples
Can we have an example that builds a node package of components for use in a SPAhttps://github.com/microsoft/TypeScriptSamples/issues/142#top
https://github.com/SteveALee
Steve Lee (SteveALee)https://github.com/SteveALee
on Apr 24, 2017https://github.com/microsoft/TypeScriptSamples/issues/142#issue-223768063
https://github.com/SteveALee
Steve Lee (SteveALee)https://github.com/SteveALee
on Apr 24, 2017https://github.com/microsoft/TypeScriptSamples/issues/142#issuecomment-296619300
http://marcobotto.com/compiling-and-bundling-typescript-libraries-with-webpack/http://marcobotto.com/compiling-and-bundling-typescript-libraries-with-webpack/
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Apr 24, 2017https://github.com/microsoft/TypeScriptSamples/issues/142#issuecomment-296763257
thishttp://www.typescriptlang.org/docs/handbook/react-&-webpack.html
https://github.com/SteveALee
Steve Lee (SteveALee)https://github.com/SteveALee
on Apr 25, 2017https://github.com/microsoft/TypeScriptSamples/issues/142#issuecomment-296986757
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScriptSamples/issues/142
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScriptSamples/issues/142
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.