Browse Source

Fix webpack warnings due to unhandled extensions (`LICENCE` and `README.md`) (#29869)

dariusk-working/4_3_0
Renaud Chaput 2 years ago committed by GitHub
parent
commit
730e2127e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      app/javascript/mastodon/common.js

2
app/javascript/mastodon/common.js

@ -2,7 +2,7 @@ import Rails from '@rails/ujs';
import 'font-awesome/css/font-awesome.css';
export function start() {
require.context('../images/', true);
require.context('../images/', true, /\.(jpg|png|svg)$/);
try {
Rails.start();

Loading…
Cancel
Save