]> cat aescling's git repositories - mastodon.git/commitdiff
Fixed index in webpack config
authorkibigo! <marrus-sh@users.noreply.github.com>
Mon, 11 Dec 2017 18:45:21 +0000 (10:45 -0800)
committerkibigo! <marrus-sh@users.noreply.github.com>
Mon, 11 Dec 2017 18:45:21 +0000 (10:45 -0800)
config/webpack/configuration.js

index 852185eb98af77dd0670fd6d684dee498f6d8f5d..a38d9d11dea26d418e89b175c8a74d88ac2b8fe9 100644 (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))) {