Fixes require-less config

The latest require-less changed one line of code that broke our setup. It also made it very clear that a much nicer method of configuration is possible.