mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fixed index in webpack config
This commit is contained in:
parent
7d024a6b68
commit
8aa527434c
@ -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…
Reference in New Issue
Block a user