Last active
October 27, 2020 13:35
-
-
Save existentialmutt/7f32f9d3217d41a2d8bcd4c61aa201ec to your computer and use it in GitHub Desktop.
Polyfills for StimulusReflex in IE11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This is the polyfill list from an application that has StimulusReflex / CableReady working in IE 11. | |
It is almost certainly overkill because some of our non-SR/CR features need polyfills too. | |
What's definitely needed is `@stimulus/polyfills`, `custom-event-polyfill`, `nodelist-foreach-polyfill`, | |
`@webcomponents/template`, and at least some of the object and array polyfills. | |
We also only use a few basic features of SR/CR so fancier stuff like Notifications may require additional polyfills. | |
*/ | |
import "core-js/es/object"; | |
import "core-js/es/array"; | |
import "@stimulus/polyfills"; | |
import "custom-event-polyfill"; | |
import "nodelist-foreach-polyfill"; | |
import "formdata-polyfill"; | |
import "@webcomponents/template"; | |
import "element-closest-polyfill"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment