Polyfills for CableReady
Description
The @cable_ready/polyfills
package provides support for CableReady in older browsers like Internet Explorer 11.
Usage
To include the polyfills you just have to import the package. Typically you want to import it in app/javascript/packs/application.js
.
import '@cable_ready/polyfills'
Details
This repository contains a few polyfills itself and bundles up polyfills from other packages. The following list shows the included polyfills and where they are coming from:
Polyfills imported in this package
-
Custom
-
core-js
Array.flat()
Array.forEach()
Array.from()
Array.includes()
Object.entries()
Promise
Polyfills imported from element-closest
Polyfills imported from @webcomponents/template