millermedeiros/requirejs-plugins — pull request #48 by seggen-ibuildings (2014-03-21 10:05:56+00:00)
Title: Avoid loading empty: urls

r.js let's you define certain paths as "empty:" so they are skipped during optimization.

There's a piece of code in text.js that skips modules (see https://github.com/requirejs/text/blob/master/text.js). This patch applies the same trick to json.js.