I've just started using Jekyll and the stylus plugin provided here: https://gist.github.com/adamjspooner/988201
I have some import statements in my stylus files like the following:
@import 'normalize.css'
The stylus plugin converts the stylus files correctly to css, but keeps the import statements in the generated css file. I would like to have the import statement to include the content of the css file when the css is generated. When using the command line for compiling stylus you can use the --include-css option to perform this task. How would one go about doing this when using the stylus plugin in Jekyll?
You can try to add options object with 'include css' key to the compile method, but I'm not sure that it will work:
Stylus.compile content, { 'include css' => true }