From 753535c3c7eac49d9b4d238912fa856e6fb0748c Mon Sep 17 00:00:00 2001 From: kibigo! Date: Thu, 7 Dec 2017 14:33:49 -0800 Subject: [PATCH] Fixed webpack skin folder globbing --- config/webpack/configuration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/webpack/configuration.js b/config/webpack/configuration.js index 59d46c78d4..9cdd6f9345 100644 --- a/config/webpack/configuration.js +++ b/config/webpack/configuration.js @@ -45,7 +45,7 @@ for (let i = 0; i < skinFiles.length; i++) { const data = flavours[name].skin; if (lstatSync(skinFile).isDirectory()) { data[skin] = {}; - const skinPacks = glob.sync(skinFile, '*.{css,scss}'); + const skinPacks = glob.sync(resolve(skinFile, '*.{css,scss}')); for (let j = 0; j < skinPacks.length; j++) { const pack = skinPacks[i]; data[skin][basename(pack, extname(pack))] = pack;