diff options
author | kibigo! <marrus-sh@users.noreply.github.com> | 2017-12-07 14:33:49 -0800 |
---|---|---|
committer | kibigo! <marrus-sh@users.noreply.github.com> | 2017-12-07 14:33:49 -0800 |
commit | 753535c3c7eac49d9b4d238912fa856e6fb0748c (patch) | |
tree | 3fd02fe14daf66e0e9872acd00e3ee1d38852659 | |
parent | 9cdd81e9dd4eb770ba1bc03707583695abbea046 (diff) |
Fixed webpack skin folder globbing
-rw-r--r-- | config/webpack/configuration.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack/configuration.js b/config/webpack/configuration.js index 59d46c78d..9cdd6f934 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; |