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