Skip to content
This repository has been archived by the owner on May 6, 2019. It is now read-only.

Commit

Permalink
Merge pull request #12 from helpscout/improve-pack-includepath
Browse files Browse the repository at this point in the history
Improves includepath output in index.js
  • Loading branch information
ItsJonQ committed Jul 8, 2016
2 parents 551067f + d9ee55c commit 94d6b19
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions templates/pack/index.js
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 94d6b19

Please sign in to comment.