TrevorBurnham/connect-assets — Issue #48: Providing custom functions for Stylus
Author: lynns
Created: 2011-11-29 21:56:16+00:00
State: open

Stylus allows you to define javascript functions that can be invoked during the processing of your style files. I'm not seeing anyway of passing those custom functions into connect-asset that will then bind them to the Stylus compiler. I can provide my own cssCompiler implementation and use the 'define' function that Stylus provides to accomplish what I need but it would be cleaner if I could just pass in some functions when I create the asset module and have connect-asset tie things together.

Thanks for your consideration.