moved shims to shims directory in rollup scripts

This commit is contained in:
Dominic Gannaway
2017-03-23 16:21:36 +00:00
parent 37d334b314
commit dd0ae1a233
4 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -201,7 +201,7 @@ function replaceFbjsModuleAliases(bundleType) {
// on the React bundle itself rather than require module directly.
// For the React bundle, ReactCurrentOwner should be bundled as part of the bundle
// itself and exposed on __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
const shimReactCurrentOwner = resolve('./scripts/rollup/ReactCurrentOwnerRollupShim.js');
const shimReactCurrentOwner = resolve('./scripts/rollup/shims/ReactCurrentOwnerRollupShim.js');
const realReactCurrentOwner = resolve('./src/isomorphic/classic/element/ReactCurrentOwner.js')
function getReactCurrentOwnerModuleAlias(bundleType, isRenderer) {
@@ -219,7 +219,7 @@ function getReactCurrentOwnerModuleAlias(bundleType, isRenderer) {
}
// this works almost identically to the ReactCurrentOwner shim above
const shimReactCheckPropTypes = resolve('./scripts/rollup/ReactCheckPropTypesRollupShim.js');
const shimReactCheckPropTypes = resolve('./scripts/rollup/shims/ReactCheckPropTypesRollupShim.js');
const realCheckPropTypes = resolve('./src/isomorphic/classic/types/checkPropTypes.js')
function getReactCheckPropTypesModuleAlias(bundleType, isRenderer) {
@@ -237,7 +237,7 @@ function getReactCheckPropTypesModuleAlias(bundleType, isRenderer) {
}
// this works almost identically to the ReactCurrentOwner shim above
const shimReactComponentTreeHook = resolve('./scripts/rollup/ReactComponentTreeHookRollupShim.js');
const shimReactComponentTreeHook = resolve('./scripts/rollup/shims/ReactComponentTreeHookRollupShim.js');
const realReactComponentTreeHook = resolve('./src/isomorphic/hooks/ReactComponentTreeHook.js');
function getReactComponentTreeHookModuleAlias(bundleType, isRenderer) {