guybedford/es-module-shims
View on GitHub ↗ ★ 1,736 JavaScript
Shims for new ES modules features on top of the basic modules support in browsers
10 mentions on Hacker News by 10 people: 0 stories, 10 comments · first 2019-04-12 · latest 2024-04-10
20082026
-
…time. There is a simple polyfill however in the meantime which means you can actually use it today. https://github.com/guybedford/es-module-shims
comment by mdhb · 2024-04-10 · in Demystifying the Shadow DOM -
…get rid of the import path issue, and to support legacy browsers that still might have that error: https://github.com/guybedford/es-module-shims
comment by tylerchilds · 2024-04-06 · in Faces.js, a JavaScript library for generating vector-based cartoon faces -
…Note that you will need an ES module shim for iOS/Safari if you go this path: https://github.com/guybedford/es-module-shims
comment by bob1029 · 2023-08-13 · in Ask HN: What's the state of the art in reliable JavaScript bundling? -
https://github.com/guybedford/es-module-shims has a polyfill. (But it is fairly large: 53KB raw, 15KB gzipped, 32KB minified, 11KB minified+gzipped. It’s providing a lot of likely-unnecessary functionality. I’d prefer a stripped-down and…
comment by chrismorgan · 2023-02-17 · in Modern SPAs without bundlers, CDNs, or Node.js -
Safari support is enabled with https://github.com/guybedford/es-module-shims
comment by mythz · 2023-02-17 · in Modern SPAs without bundlers, CDNs, or Node.js -
No problem! There's also a polyfill if you need to support Safari: https://github.com/guybedford/es-module-shims
comment by TimTheTinker · 2023-02-17 · in Writing JavaScript without a build system -
…' import sheet from ' https://site.com/sheet.css ' assert { type: 'css' }; </script> 1: https://github.com/guybedford/es-module-shims
comment by alxmng · 2023-02-17 · in Writing JavaScript without a build system -
…when the service worker hasn't been installed yet. Ended up using es-module-shim's fetch hook ( https://github.com/guybedford/es-module-shims#fetch-hook ) instead, which worked quite well. I kept the demo repo around here, in case it's…
comment by lewisl9029 · 2022-06-13 · in Fresh – Next-gen web framework -
…from the shim I'm using to support import maps, it's explained why the error is "wanted" here: https://github.com/guybedford/es-module-shims#polyfill-mode I could probably silence it, but since I have examples with that module in the…
comment by SahAssar · 2021-04-07 · in Show HN: Skruv – No-dependency, no-build, small JavaScript framework -
…a polyfill such as Guy Bedford’s https://github.com/systemjs/systemjs/blob/master/docs/import... or https://github.com/guybedford/es-module-shims — but you’ll have to consider solutions for custom syntax, scss or non-es module…
comment by lstamour · 2019-04-12 · in Web Components could replace frontend frameworks?