Last modified: 2013-08-11 05:30:28 UTC
To support languages like SASS and LESS (and possibly similar ones for JavaScript), implement a optional compilation step for debug mode. This would compile to the browser language (e.g. CSS) without minification. This would be similar to the existing ResourceLoader::filter, but apply in debug mode. It might make sense to use some kind of OOP approach with e.g. a ResourceLoaderLanguage class with getProductionCode and getDebugCode methods (the latter of which would be trivial for actual CSS and JS). That could handle the existing filters and this new pre-processing.