Fixes issue where the text plugin does not honour 'empty:' config baths when building using r.js

References the r.js issue #493 (https://github.com/jrburke/r.js/issues/493). User who reported that issue has not created the issue on the text repository.
Merge pull request #60 from dakota/patch-1

Fixes issue where the text plugin does not honour 'empty:' config baths ...