Hacker GitHub

← All repos

WICG/import-maps

View on GitHub ↗ ★ 2,717 HTML archived

Former home of import maps (now merged into HTML)

23 mentions on Hacker News by 17 people: 3 stories, 20 comments · first 2019-02-25 · latest 2024-06-20

Mentions per year 23 mentions · busiest year 2021 (5)
20082026
  1. …modules still are not a ubiquitous feature of the core web & JavaScript ecosystems. 9 years latter. https://github.com/WICG/import-maps/issues/2 It's been hard being a webdevs, when the future remains so partially implemented. The…
  2. …and it still doesn't work in workers, which leaves us infuriatingly shirt of where the past was. https://github.com/WICG/import-maps/issues/2
    comment by jauntywundrkind · 2024-02-25 · in It is hard to avoid JavaScript
  3. …news? Oh import-maps only works for the simplest case. Doesn't work in webworkers/service workers. https://github.com/WICG/import-maps/issues/2 The point is that single page apps almost always are bundled together, as using CDNs hasn't…
  4. …unbundling more viable, but that's still long suffering (ex: import-maps don't work for workers, https://github.com/WICG/import-maps/issues/2 ), and now that the http cache doesn't work cross-site many of the possible re-use upsides are…
    comment by jauntywundrkind · 2024-01-09 · in Missing the Point of WebAssembly
  5. …modules in web workers: there's no import-map support or spec! Issue #2 in import maps... 2. https://github.com/WICG/import-maps/issues/2
    comment by rektide · 2023-06-30 · in CommonJS is hurting JavaScript
  6. But not in Workers/worklets. https://github.com/WICG/import-maps/issues/2 ESM was specced out in 2015. It hurts so bad that we are in 2023 & using modules in a modular way is still incredibly ill supported in the web ecosystem. :(
  7. …of github issues and no solution. https://developer.mozilla.org/en-US/docs/Web/Security/Subres... https://github.com/WICG/import-maps/issues/221 https://github.com/WICG/import-maps/issues/223
  8. …totally shit out of luck in spite of some very simple straightforward suggested paths forward. https://github.com/WICG/import-maps/issues/2 I think Deno is making pretty good tradeoffs along the way here. This looks like package.json at…
    comment by rektide · 2023-03-20 · in Why we added package.json support to Deno
  9. …that this breaks with web standards, but apparently it's being proposed as a standard feature: https://github.com/WICG/import-maps Interesting!
    comment by brundolf · 2022-11-14 · in Deno 1.28: Featuring 1.3M New Modules
  10. …in to Safari as it has already landed in webkit: * https://bugs.webkit.org/show_bug.cgi?id=220823 * https://github.com/WICG/import-maps/blob/main/README.md
    comment by Fudgel · 2022-10-24 · in WebKit Features in Safari 16.1
  11. Rather than importing and re-exporting dependencies, Deno supports import maps: https://github.com/WICG/import-maps https://deno.land/manual@v1.20.1/linking_to_external_code/im...
    comment by yesbabyyes · 2022-03-17 · in Deno Is Webby
  12. > I doubt browsers are smart enough to bulk fetch multiple unpkg dependencies in one request. https://github.com/WICG/import-maps/issues/209
    comment by qvq · 2021-09-18 · in You may not need Moment.js
  13. …in a non-browser environment? I get WHATWG streams, esm, fetch and WebCrypro though. - 1: https://github.com/WICG/import-maps
    comment by timdaub · 2021-08-23 · in Deno on MDN
  14. …[1] has support for scoping, but I didn't see a way to integrate that with the Deno loader. [1] https://github.com/WICG/import-maps#scoping-examples
    comment by sujayakar · 2021-04-13 · in Deno 1.9
  15. …seems straightforward & sensible, makes it easy to look at the dom & grok how things happen. [1] https://github.com/WICG/import-maps [2] https://github.com/w3c/ServiceWorker/issues/831 [3] https://bugs.chromium.org/p/chromium/issues/detail?…
    comment by rektide · 2021-02-11 · in The web didn't change; you did
  16. …the same types of problems as Node. [1] https://blog.asana.com/2020/01/typescript-quirks/ [2] https://github.com/WICG/import-maps/issues/60
    comment by dvt · 2020-06-04 · in What the Hell Is a Deno?
  17. I believe the long term solution to the issues you raised is import maps: https://github.com/WICG/import-maps It's an upcoming feature on the browser standards track gaining a lot of traction (deno already supports it), and offers users a…
    comment by lewisl9029 · 2020-05-14 · in Deno 1.0
  18. …of just plain files with a bundled version of lit, you still need to rewrite import paths, until https://github.com/WICG/import-maps becomes a thing at least. I wrote a tiny dev server that does that: https://github.com/myfreeweb/es-module-…
    comment by floatboth · 2019-05-19 · in Virtual DOM is pure overhead (2018)
  19. https://github.com/WICG/import-maps#scoping-examples
    comment by philipwalton · 2019-03-12 · in KV Storage, the Web's First Built-In Module
  20. …viable to not bundle or transpile for local development and only do so for production builds. 1: https://github.com/WICG/import-maps
    comment by bwindels · 2019-02-25 · in Alternatives to JSX