Title: Request a sample showing a project that targets Node and the Browser without an external bundler · Issue #156 · microsoft/TypeScriptSamples · GitHub
Open Graph Title: Request a sample showing a project that targets Node and the Browser without an external bundler · Issue #156 · microsoft/TypeScriptSamples
X Title: Request a sample showing a project that targets Node and the Browser without an external bundler · Issue #156 · microsoft/TypeScriptSamples
Description: For new samples, please provide a detailed explanation of the intended sample It is very hard to get imports and compiling working seamlessly if you are building an app with 2 targets: primarily for the browser but can also be run headle...
Open Graph Description: For new samples, please provide a detailed explanation of the intended sample It is very hard to get imports and compiling working seamlessly if you are building an app with 2 targets: primarily fo...
X Description: For new samples, please provide a detailed explanation of the intended sample It is very hard to get imports and compiling working seamlessly if you are building an app with 2 targets: primarily fo...
Opengraph URL: https://github.com/microsoft/TypeScriptSamples/issues/156
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Request a sample showing a project that targets Node and the Browser without an external bundler","articleBody":"> For new samples, please provide a detailed explanation of the intended sample\r\n\r\nIt is very hard to get imports and compiling working seamlessly if you are building an app with 2 targets: primarily for the browser but can also be run headless in node(for testing). The combinatorics of number of TSC config options and ways to do imports/references/requires/exports/etc is huge.\r\n\r\nHow about a somewhat complex sample browser app that can also be run headless for testing purposes.\r\n\r\n> list of technologies or tools used\r\n\r\n It should include 2 core TypeScript file, one small file for the browser only, and then 1 test script. It should have 1 external npm dependency that is used only when run in Node, and 1 external browser dependency only used in the browser (jquery or something like that).\r\n\r\nIt should not use webpack or any other bundler like that. Just TSC.\r\n\r\n> and an explanation of why existing samples are not sufficient and a new sample is needed.\r\n\r\nSee explanation above.","author":{"url":"https://github.com/breck7","@type":"Person","name":"breck7"},"datePublished":"2019-07-15T05:33:09Z","url":"https://github.com/microsoft/TypeScriptSamples/issues/156"}
| 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:dbdc79b1-4902-4e28-d962-9a9a1df04bb7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECB4:27BDC8:289953:37D715:6B044BF2 |
| html-safe-nonce | e72985bd8640041810d462227f3fd6d753f3a20ef46866121a28e0fba1f5ff20 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0I0OjI3QkRDODoyODk5NTM6MzdENzE1OjZCMDQ0QkYyIiwidmlzaXRvcl9pZCI6IjUwMDY1NDcyNjU5NjQ0OTM4MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 03ababc54d240a9b26547a778921c2e9e3dbd7edaef90d558981079e455592a6 |
| hovercard-subject-tag | issue:467947896 |
| 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/TypeScriptSamples/156/issue_layout |
| twitter:image | https://opengraph.githubassets.com/55c2c7752f53a87f0440ccc49f0b1315f51947b87f3bdc934161463d67963015/microsoft/TypeScriptSamples/issues/156 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/55c2c7752f53a87f0440ccc49f0b1315f51947b87f3bdc934161463d67963015/microsoft/TypeScriptSamples/issues/156 |
| og:image:alt | For new samples, please provide a detailed explanation of the intended sample It is very hard to get imports and compiling working seamlessly if you are building an app with 2 targets: primarily fo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | breck7 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScriptSamples git https://github.com/microsoft/TypeScriptSamples.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 21831014 |
| octolytics-dimension-repository_nwo | microsoft/TypeScriptSamples |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21831014 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScriptSamples |
| 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 | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width