diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2018-07-14 10:56:41 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-07-14 03:56:41 +0200 |
commit | e9b322d0a6bebe7d13a53a216482ecc364f18806 (patch) | |
tree | b775933f5fce4df3c563d45c1e675189b6444dd2 /app/javascript/mastodon/common.js | |
parent | e7091074636c519a5c0bd52c8ef85fa3c5df4656 (diff) |
Upgrade webpack to version v4.x (#6655)
Diffstat (limited to 'app/javascript/mastodon/common.js')
-rw-r--r-- | app/javascript/mastodon/common.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/javascript/mastodon/common.js b/app/javascript/mastodon/common.js new file mode 100644 index 000000000..2b10b8c30 --- /dev/null +++ b/app/javascript/mastodon/common.js @@ -0,0 +1,8 @@ +import Rails from 'rails-ujs'; + +export function start() { + require('font-awesome/css/font-awesome.css'); + require.context('../images/', true); + + Rails.start(); +}; |