Join css that @import syntax loaded file.
Install
$ npm install -g cssjoin
Usage
Command line
$ cssjoin some.css
in node.js
var cssjoin = ; //without option; // with option;
Example
Input
main.css
;
dir/parts.css
And execute
$ cssjoin main.css
Output
Options
-p --include-paths
Add @import paths.
$ cssjoin some.css -p /include/path
if need set some paths can use separator ":"
$ cssjoin some.css -p /include/path:/include/path2:/include/path3
or on windows, use separator ";"
$ cssjoin some.css -p C:\\include\\path\\;C:\\include\\path2\\;C:\\include\\path3\\;