Node-sass: Multiple include-paths from CLI

Created on 22 Jul 2015  路  3Comments  路  Source: sass/node-sass

includePaths from the Node API expects an array of paths, but I can't figure out how to pass multiple paths on the command line. Is that possible? It seems like the CLI is checking for include-path to be an array, but it is initially declared as a string.

I expected it to work like node-sass sass/ --include-path path/1/ path/2/ -o css/. Perhaps there is a different syntax and I'm just being a bit dull?

If this is currently impossible, I could certainly try my hand at implementing it!

Most helpful comment

Just a shot in the wild, but have you tried node-sass sass/ --include-path /1 --include-path /2. This is just a guess, since it is how most CLI tools work ...

All 3 comments

Just a shot in the wild, but have you tried node-sass sass/ --include-path /1 --include-path /2. This is just a guess, since it is how most CLI tools work ...

@mgreter Nice! worked great!

:+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cjo2118 picture cjo2118  路  3Comments

goseesomething picture goseesomething  路  3Comments

amarbham picture amarbham  路  3Comments

pulkitnandan picture pulkitnandan  路  4Comments

m-ret picture m-ret  路  4Comments