I have a solution to this in a branch. It's a ring middleware that adds the correct mime-type to files in the form file.css-123123123.dieter and file.js-123123123.dieter. This solves the problem that browser debugging tools dont work without a mime type.
In issue #19, @jxa suggested changing the file extensions of the generated files. That sounds like a slightly more complicated solution, because it breaks the obvious mapping between original files and generated files. Also, the filename handling code is very brittle at the moment, so I'm reluctant to touch it anymore.
I have a solution to this in a branch. It's a ring middleware that adds the correct mime-type to files in the form file.css-123123123.dieter and file.js-123123123.dieter. This solves the problem that browser debugging tools dont work without a mime type.
In issue #19, @jxa suggested changing the file extensions of the generated files. That sounds like a slightly more complicated solution, because it breaks the obvious mapping between original files and generated files. Also, the filename handling code is very brittle at the moment, so I'm reluctant to touch it anymore.