about summary refs log tree commit diff
path: root/app/javascript/themes/glitch/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/themes/glitch/index.js')
-rw-r--r--app/javascript/themes/glitch/index.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/javascript/themes/glitch/index.js b/app/javascript/themes/glitch/index.js
new file mode 100644
index 000000000..407e1f767
--- /dev/null
+++ b/app/javascript/themes/glitch/index.js
@@ -0,0 +1,14 @@
+import loadPolyfills from './util/load_polyfills';
+
+// import default stylesheet with variables
+require('font-awesome/css/font-awesome.css');
+
+import './styles/index.scss';
+
+require.context('../../images/', true);
+
+loadPolyfills().then(() => {
+  require('./util/main').default();
+}).catch(e => {
+  console.error(e);
+});