Move icons to /public due to webpack inlining all the icons, causing bloated bundle sizes

This commit is contained in:
Melvin Valster
2019-07-26 22:53:26 +02:00
parent db972548c9
commit 33d88c950f
640 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { classes } from '../data/classes'
import { talentsById } from '../data/talents'
import request from 'request'
const ICONS_FOLDER = './src/images/icons'
const ICONS_FOLDER = './public/images/icons'
const SIZES = ['medium', 'large']
const onlyUnique = (value, index, self) => self.indexOf(value) === index