mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-18 04:19:27 +00:00
Fix webpack warnings due to unhandled extensions (LICENCE
and README.md
) (#29869)
This commit is contained in:
parent
a1277a9b2b
commit
730e2127e1
|
@ -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…
Reference in a new issue