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
Just took a two second look at your source and wondering if your code could be "easily" altered to be more generic by supporting generating an array of paths for any "main" file type? Pass in your file type and it returns array for same. Maybe as easy as generating your glob strings instead of hard coding them?
var sassFoldersGlobStr = '{stylesheets,sass}';
var sassLibFoldersGlobStr = '{stylesheets,sass,lib,dist,assets/{sass,stylesheets},scss}';
var sassFilesGlobStr = '*.{sass,scss}';
var sassGemsGlobStr = path.join('gems/*', sassFoldersGlobStr);
If this doesn't involve a major rewrite I could maybe do it as a fork with your input on the best way.
The text was updated successfully, but these errors were encountered:
Just took a two second look at your source and wondering if your code could be "easily" altered to be more generic by supporting generating an array of paths for any "main" file type? Pass in your file type and it returns array for same. Maybe as easy as generating your glob strings instead of hard coding them?
The stylus renderer works pretty much the same, taking an array of paths http://stylus-lang.com/docs/js.html
If this doesn't involve a major rewrite I could maybe do it as a fork with your input on the best way.
The text was updated successfully, but these errors were encountered: