Skip to content

Commit

Permalink
[BUGFIX release] fix prod-build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner committed Mar 19, 2016
1 parent 762139e commit 0550d45
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 0550d45

Please sign in to comment.