[Glitch] Fix webpack warnings due to unhandled extensions (`LICENCE` and `README.md`)
Port 730e2127e1
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
main-rebase-security-fix
parent
9ce82a35cb
commit
2d43547934
|
@ -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 New Issue