You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, it would be awesome to support node-sassincludePaths feature with this project!
In my fork I've made some changes in order to support it! I'm not pushing a request because I don't use compass, bower nor diamonds so I don't know how this affects those but I've tested it on my sass project, which uses grunt-sass (so node-sass) and it works flawlessly, it just has to be tested with other supported tools!
To support the includePaths it's pretty simple: just create a index.js file where you will export the path to the scss folder:
Hi, it would be awesome to support
node-sass
includePaths
feature with this project!In my fork I've made some changes in order to support it! I'm not pushing a request because I don't use compass, bower nor diamonds so I don't know how this affects those but I've tested it on my sass project, which uses grunt-sass (so node-sass) and it works flawlessly, it just has to be tested with other supported tools!
To support the
includePaths
it's pretty simple: just create aindex.js
file where you will export the path to the scss folder:and then in the
package.json
file just change the main file to index.jsIn this way, I can easily install this plugin with npm and require the file in my gulp, grunt or pure node file.
Then In my scss file I just have to
@import typi
;That's pretty simple!
I'm asking this because in this way code is much more mantainable! No copy-paste required!
The text was updated successfully, but these errors were encountered: