Join GitHub today
How are you processing CoffeeScript templates? #317
Hi, this is not really an issue, more a request for help, but this seemed the best place to put it to give all Sprockets contributors a chance to answer. In short I'm trying to write a Sprockets alternative for Python. Unfortunately I'm having trouble working out how to do the CoffeeScript processing and am relatively new to Ruby so reading through the source for Sprockets hasn't helped me as much as I'd like. Was hoping somebody could point me in the right direction?
The part I'm stuck on is preserving the include directives and inserting them in the correct place. I'm assuming this is done after the coffeescript is compiled (so as not to cause issues with including js files and trying to compile those) but could be wrong.