Fixed index in webpack config

th-downstream
kibigo! 7 years ago
parent 7e1a419585
commit 1d7b78817a

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

Loading…
Cancel
Save