Skip to content

Commit

Permalink
Merge pull request #4248 from emberjs/fix-prod-build
Browse files Browse the repository at this point in the history
fix prod-build issue
  • Loading branch information
bmac committed Mar 19, 2016
2 parents 762139e + 0550d45 commit 36cc6f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/babel-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ function babelOptions(libraryName, _options) {
getModuleId: function (name) {
return name.replace(/\/index$/g, '');
},
resolveModuleSource: moduleResolve
resolveModuleSource: function(source, fileName) {
return moduleResolve.call(this, source, libraryName + '/' + fileName);
}
};

Object.keys(_options).forEach(function(opt) {
Expand Down

0 comments on commit 36cc6f8

Please sign in to comment.