about summary refs log tree commit diff
path: root/app/javascript/packs/application.js
blob: 21dc78986335e555280d51b7e239d50b8604d83d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//  THIS IS THE `vanilla` THEME PACK FILE!!
//  IT'S HERE FOR UPSTREAM COMPATIBILITY!!
//  THE `glitch` PACK FILE IS IN `themes/glitch/index.js`!!

import loadPolyfills from '../mastodon/load_polyfills';

// import default stylesheet with variables
require('font-awesome/css/font-awesome.css');

import '../styles/application.scss';

require.context('../images/', true);

loadPolyfills().then(() => {
  require('../mastodon/main').default();
}).catch(e => {
  console.error(e);
});