@streamlayer/web-polyfills
v0.1.1
Published
Browser polyfills for the StreamLayer Web SDK on legacy engines (Chrome 32+ / 2016-era Smart TVs)
Keywords
Readme
@streamlayer/web-polyfills
Browser polyfills for running @streamlayer/react or @streamlayer/web-os on legacy engines
(Chrome 32+, 2016-era Smart TVs). Load it once, before any SDK import.
import '@streamlayer/web-polyfills' // core-js external: this package's dependencies supply it
import '@streamlayer/web-polyfills/bundled' // one self-contained file, nothing else to installpolyfills.js is the hand-ordered entry; its order is load-bearing (see the comments in the file).
vendor/intersection-observer.js is a vendored copy of the archived intersection-observer polyfill —
see the header in that file before touching it.
Integrator documentation: packages/docs/docs/guide/web-polyfills.md.
