index.js
function () {

        var me = this;

        return me.custom(function (file, callback) {

            amdDeploy({
                file: file.path,
                content: file.contents.toString(),
                config: me.getAmdConfig(file),
                callback: function (code) {

                    file.contents = new Buffer(code);
                    callback();

                }
            });

        });

    }
function () {

        var me = this;

        return me.custom(function (file, callback) {

            amdDeploy({
                file: file.path,
                content: file.contents.toString(),
                config: me.getAmdConfig(file),
                callback: function (code) {

                    file.contents = new Buffer(code);
                    callback();

                }
            });

        });

    }
function ( ) { var me = this ; return me . custom ( function ( file , callback ) { amdDeploy ( { file : file . path , content : file . contents . toString ( ) , config : me . getAmdConfig ( file ) , callback : function ( code ) { file . contents = new Buffer ( code ) ; callback ( ) ; } } ) ; } ) ; }
编译 amd 模块
编译 amd 模块