Ensure remapped fp method modules are created.

This commit is contained in:
John-David Dalton
2016-01-27 00:47:00 -08:00
parent d3b0eae84c
commit 6a4164d9f3

View File

@@ -82,9 +82,11 @@ function build(target) {
'ignore': path.join(target, '_*.js') 'ignore': path.join(target, '_*.js')
}); });
// Add FP alias module paths. // Add FP alias and remapped module paths.
_.forOwn(aliasToReal, function(realName, alias) { _.each([mapping.aliasToReal, mapping.key], function(data) {
modulePaths.push(path.join(target, alias + '.js')); _.forOwn(data, function(realName, alias) {
modulePaths.push(path.join(target, alias + '.js'));
});
}); });
modulePaths = _.uniq(modulePaths); modulePaths = _.uniq(modulePaths);