asciidisco/grunt-requirejs — pull request #17 by lauripiispanen (2012-09-13 08:55:15+00:00)
Title: RequireJS optimization not being run if almond: false

This may be a misunderstanding on my part, but it seems that optimization is never being run unless almond: true. This is rather counterintuitive, as documentation of the plugin also demonstrates that it should be possible to run the optimizations even without having almond replacement in place.

Anyhow, the attached test case illustrates the issue, and the patch fixes it so that the callback will always be called (and thus optimization is run) regardless whether "almondization" is enabled.