mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
moved shims to shims directory in rollup scripts
This commit is contained in:
1 parent
37d334b314
commit
dd0ae1a233
4 files changed
+3
-3
No files matched your search
@@ -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) {
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user