[lodash] prevent lodash from detecting amd loaders
This commit is contained in:
@ -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}());'
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -98,4 +98,4 @@
|
||||
"node": ">=0.8 <=0.12",
|
||||
"iojs": ">=1.5"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user