code: function(pluginName, moduleName, write){
              if(moduleName in buildMap){
                  var content = buildMap[moduleName];
                  write('define("'+ pluginName +'!'+ moduleName +'", function(){ return '+ content +';});\n');
              }
          }
docs: write method based on RequireJS official text plugin by James Burke https://github.com/jrburke/requirejs/blob/master/text.js