[lodash] prevent lodash from detecting amd loaders

This commit is contained in:
Spencer Alger
2015-05-19 16:12:44 -07:00
parent a1ad82d9fe
commit 053dd21dd3
2 changed files with 5 additions and 2 deletions

View File

@ -9,7 +9,10 @@ module.exports = {
'<%= distDir %>/elasticsearch.min.js': '<%= distDir %>/elasticsearch.min.js'
},
options: {
banner: '<%= meta.banner %>'
banner: '<%= meta.banner %>\n' +
';(function () {\n' +
'/* prevent lodash from detecting external amd loaders */var define; \n',
footer: '\n}());'
}
}
};

View File

@ -98,4 +98,4 @@
"node": ">=0.8 <=0.12",
"iojs": ">=1.5"
}
}
}