Fixed index in webpack config

This commit is contained in:
kibigo! 2017-12-11 10:45:21 -08:00
parent 7d024a6b68
commit 8aa527434c

View File

@ -50,7 +50,7 @@ for (let i = 0; i < skinFiles.length; i++) {
data[skin] = {};
const skinPacks = glob.sync(join(skinFile, '*.{css,scss}'));
for (let j = 0; j < skinPacks.length; j++) {
const pack = skinPacks[i];
const pack = skinPacks[j];
data[skin][basename(pack, extname(pack))] = pack;
}
} else if ((skin = skin.match(/^(.*)\.s?css$/i))) {