mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Move ReactFiberTreeReflection to react-reconciler/reflection (#11683)
* Move ReactFiberTreeReflection to react-reconciler/reflection #11659 * Use * for react-reconciler We don't know the latest local version, and release script currently doesn't bump deps automatically. * Remove unused field * Use CommonJS in entry point for consistency * Undo the CommonJS change I didn't realize it would break the build. * Record sizes * Remove reconciler fixtures They're unnecessary now that we run real tests on reconciler bundles.
This commit is contained in:
@@ -10,8 +10,3 @@ yarn build --extract-errors
|
||||
|
||||
# Do a sanity check on bundles
|
||||
yarn lint-build
|
||||
|
||||
# Check that the standalone reconciler isn't borked
|
||||
cd fixtures/reconciler
|
||||
yarn
|
||||
yarn test
|
||||
|
||||
@@ -211,6 +211,16 @@ const bundles = [
|
||||
externals: ['react'],
|
||||
},
|
||||
|
||||
/******* Reflection *******/
|
||||
{
|
||||
label: 'reconciler-reflection',
|
||||
moduleType: RENDERER_UTILS,
|
||||
bundleTypes: [NODE_DEV, NODE_PROD],
|
||||
entry: 'react-reconciler/reflection',
|
||||
global: 'ReactFiberTreeReflection',
|
||||
externals: [],
|
||||
},
|
||||
|
||||
/******* React Call Return (experimental) *******/
|
||||
{
|
||||
label: 'react-call-return',
|
||||
|
||||
@@ -189,8 +189,8 @@
|
||||
"gzip": 2725
|
||||
},
|
||||
"react-noop-renderer.development.js (NODE_DEV)": {
|
||||
"size": 277788,
|
||||
"gzip": 58527
|
||||
"size": 17474,
|
||||
"gzip": 4855
|
||||
},
|
||||
"react-reconciler.development.js (NODE_DEV)": {
|
||||
"size": 262177,
|
||||
@@ -217,8 +217,16 @@
|
||||
"gzip": 3917
|
||||
},
|
||||
"react-noop-renderer.production.min.js (NODE_PROD)": {
|
||||
"size": 45144,
|
||||
"gzip": 14079
|
||||
"size": 6011,
|
||||
"gzip": 2418
|
||||
},
|
||||
"react-reconciler-reflection.development.js (NODE_DEV)": {
|
||||
"size": 10398,
|
||||
"gzip": 3198
|
||||
},
|
||||
"react-reconciler-reflection.production.min.js (NODE_PROD)": {
|
||||
"size": 2408,
|
||||
"gzip": 1062
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user