From 2d43547934d17d88e1e055c2a84673c20c7e6fde Mon Sep 17 00:00:00 2001 From: Renaud Chaput Date: Mon, 8 Apr 2024 10:17:51 +0200 Subject: [PATCH] [Glitch] Fix webpack warnings due to unhandled extensions (`LICENCE` and `README.md`) Port 730e2127e1fa0e81952bb83d91cede91d8b47b72 to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/common.js b/app/javascript/flavours/glitch/common.js index 40a324a59b..1bcb1d00f1 100644 --- a/app/javascript/flavours/glitch/common.js +++ b/app/javascript/flavours/glitch/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();