about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/extra_polyfills.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/flavours/glitch/extra_polyfills.js')
-rw-r--r--app/javascript/flavours/glitch/extra_polyfills.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/extra_polyfills.js b/app/javascript/flavours/glitch/extra_polyfills.js
new file mode 100644
index 000000000..0d45c23b0
--- /dev/null
+++ b/app/javascript/flavours/glitch/extra_polyfills.js
@@ -0,0 +1,6 @@
+import 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only';
+import 'intersection-observer';
+import 'requestidlecallback';
+import objectFitImages  from 'object-fit-images';
+
+objectFitImages();