UNPKG

sass-include-paths

Version:

Generates include paths for node-sass for packages from popular package managers like npm, bower, ruby gem, ruby bundler.

11 lines (9 loc) 277 B
const includeKeyShort = '-I'; module.exports = function(includePaths) { if(!Array.isArray(includePaths)) { throw Error('Argument is not an Array.'); } return includePaths.map(function(includePath) { return includeKeyShort + ' ' + includePath; }).join(' '); };