piral-ie11polyfills-utils
v1.3.3
Published
A set of polyfills to use to make Piral instances IE11 compatible.
Downloads
52
Maintainers
Readme
Piral IE11 Polyfills Utils ·
This is a utility library that can be used to make a Piral instance IE11 compatible.
What piral-ie11polyfills-utils
offers is a set of polyfills making all JS calls work even in older browser such as IE11.
Installation
This should only be installed as a dependency (dependencies
).
If you'd love to use yarn:
yarn add piral-ie11polyfills-utils
Alternatively, npm works reliably, too:
npm i --save piral-ie11polyfills-utils
Usage
The polyfills are just imported as first statement in your index.tsx
(or root module) of your Piral instance.
import 'piral-ie11polyfills-utils';
Polyfills
The package comes with the following polyfills:
- standard JS API polyfills (
core-js/stable
) - Promise API (
promise-polyfill/lib/polyfill
) - URL API (
url-polyfill
) - fetch API (
whatwg-fetch
) document.currentScript
support (current-script-polyfill
)
License
Piral is released using the MIT license. For more information see the license file.