about summary refs log tree commit diff
path: root/app/javascript/packs/application.js
blob: aa94006c63feb75529c62ede7e22b6e90ae2cb32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import loadPolyfills from '../mastodon/load_polyfills';

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

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

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