fixed typo with argument passing on functon call

This commit is contained in:
Dominic Gannaway
2017-03-10 14:53:22 +00:00
parent 65f11ee64f
commit 7f6ecb1a1b
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const {
function getAliases(paths, bundleType) {
return Object.assign(
createModuleMap(paths),
getInternalModules(),
getInternalModules(bundleType),
getExternalModules(bundleType),
getFbjsModuleAliases(bundleType)
);
+1 -2
View File
@@ -48,8 +48,7 @@ function getInternalModules(bundleType) {
// we tell Rollup where these files are located internally, otherwise
// it doesn't pick them up and assumes they're external
'ReactCurrentOwner': resolve('./src/isomorphic/classic/element/ReactCurrentOwner.js'),
'react/lib/ReactCurrentOwner': resolve('./src/isomorphic/classic/element/ReactCurrentOwner.js'),
'react/lib/ReactCurrentOwner': resolve('./src/isomorphic/classic/element/ReactCurrentOwner.js'),
//
reactProdInvariant: resolve('./src/shared/utils/reactProdInvariant.js'),
'ReactComponentTreeHook': resolve('./src/isomorphic/hooks/ReactComponentTreeHook.js'),