Actually sorting out svgs

This commit is contained in:
JUDIT GRESKOVITS 2017-05-23 17:18:55 +01:00 committed by Sérgio Ramos
parent ab93794724
commit ba5ccea851

View File

@ -24,7 +24,7 @@ const STATIC = path.join(FRONTEND_ROOT, 'static');
const ESLINT = path.join(__dirname, '.eslintrc'); const ESLINT = path.join(__dirname, '.eslintrc');
const rules = originalConfig.module.rules.reduce((loaders, loader, index) => { const rules = originalConfig.module.rules.reduce((loaders, loader, index) => {
if(loader.test === /\.(js|jsx)$/) { if(index === 3) {
loaders.push({ loaders.push({
test: loader.test, test: loader.test,
include: [loader.include, UI], include: [loader.include, UI],