From d9ee55c3948ef27d5d6b68215a8381688115d4bf Mon Sep 17 00:00:00 2001 From: ItsJonQ Date: Thu, 7 Jul 2016 20:32:00 -0400 Subject: [PATCH] Improves includepath output in index.js --- templates/pack/index.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/templates/pack/index.js b/templates/pack/index.js index 3d4345d..4c027ad 100644 --- a/templates/pack/index.js +++ b/templates/pack/index.js @@ -1,4 +1,12 @@ var path = require('path'); -var includePath = path.join(__dirname, 'scss'); -module.exports = includePath; +var includePath = function() { + var paths = Array.prototype.slice.call(arguments); + return [].concat.apply([], paths); +}; + +var files = [ + path.join(__dirname, 'scss') +]; + +module.exports = includePath(files);