TrevorBurnham/connect-assets — pull request #68 by JamesKyburz (2012-01-30 09:41:52+00:00)
Title: Added option for jsCompilers

Loving connect-assets!!

Added option for jsCompilers, not a "needed" function as jsCompilers was exported.

Just so the following is now possible (am using zappa) :-

@use require('connect-assets') src: "#{__dirname}/assets", jsCompilers:
iced:
match: /\.js$/
compileSync: (sourcePath, source) ->
require('iced-coffee-script').compile source, filename: sourcePath