middleman/middleman — Issue #272: Ability to have extension-less javascript files produced from .coffee files.
Author: kimptoc
Created: 2012-02-14 07:18:51+00:00
State: open

For example, I am trying to use the serenade.js framework - https://github.com/elabs/serenade.js

This provides its source in files like serenade.coffee and model.coffee - so no ".js" in the name.

Middleman app does not seem to support this currently. Admittedly it also uses require and so might need to be "compiled" into javascript for browser use anyway - although require.js might be a way around that.

I guess a work around might be to use the "dynamic page" feature of middleman to map the "public" names of "serenade" to "serenade.coffee" - not sure if that would work.

Probably the best solution for now is to compile serenade to a js file and use that :P - to be honest, that might be the best long term solution.