From ba5ccea851d0b32d861471fad06c44c6ffda5db7 Mon Sep 17 00:00:00 2001 From: JUDIT GRESKOVITS Date: Tue, 23 May 2017 17:18:55 +0100 Subject: [PATCH] Actually sorting out svgs --- frontend/scripts/webpack.config.dev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/scripts/webpack.config.dev.js b/frontend/scripts/webpack.config.dev.js index f26bcd21..f4bc0616 100644 --- a/frontend/scripts/webpack.config.dev.js +++ b/frontend/scripts/webpack.config.dev.js @@ -24,7 +24,7 @@ const STATIC = path.join(FRONTEND_ROOT, 'static'); const ESLINT = path.join(__dirname, '.eslintrc'); const rules = originalConfig.module.rules.reduce((loaders, loader, index) => { - if(loader.test === /\.(js|jsx)$/) { + if(index === 3) { loaders.push({ test: loader.test, include: [loader.include, UI],