mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
d9c1dbd617
* Enable Yarn workspaces for packages/* * Move src/isomorphic/* into packages/react/src/* * Create index.js stubs for all packages in packages/* This makes the test pass again, but breaks the build because npm/ folders aren't used yet. I'm not sure if we'll keep this structure--I'll just keep working and fix the build after it settles down. * Put FB entry point for react-dom into packages/* * Move src/renderers/testing/* into packages/react-test-renderer/src/* Note that this is currently broken because Jest ignores node_modules, and so Yarn linking makes Jest skip React source when transforming. * Remove src/node_modules It is now unnecessary. Some tests fail though. * Add a hacky workaround for Jest/Workspaces issue Jest sees node_modules and thinks it's third party code. This is a hacky way to teach Jest to still transform anything in node_modules/react* if it resolves outside of node_modules (such as to our packages/*) folder. I'm not very happy with this and we should revisit. * Add a fake react-native package * Move src/renderers/art/* into packages/react-art/src/* * Move src/renderers/noop/* into packages/react-noop-renderer/src/* * Move src/renderers/dom/* into packages/react-dom/src/* * Move src/renderers/shared/fiber/* into packages/react-reconciler/src/* * Move DOM/reconciler tests I previously forgot to move * Move src/renderers/native-*/* into packages/react-native-*/src/* * Move shared code into packages/shared It's not super clear how to organize this properly yet. * Add back files that somehow got lost * Fix the build * Prettier * Add missing license headers * Fix an issue that caused mocks to get included into build * Update other references to src/ * Re-run Prettier * Fix lint * Fix weird Flow violation I didn't change this file but Flow started complaining. Caleb said this annotation was unnecessarily using $Abstract though so I removed it. * Update sizes * Fix stats script * Fix packaging fixtures Use file: instead of NODE_PATH since NODE_PATH. NODE_PATH trick only worked because we had no react/react-dom in root node_modules, but now we do. file: dependency only works as I expect in Yarn, so I moved the packaging fixtures to use Yarn and committed lockfiles. Verified that the page shows up. * Fix art fixture * Fix reconciler fixture * Fix SSR fixture * Rename native packages
228 lines
5.5 KiB
JSON
228 lines
5.5 KiB
JSON
{
|
|
"bundleSizes": {
|
|
"react.development.js (UMD_DEV)": {
|
|
"size": 54809,
|
|
"gzip": 14353
|
|
},
|
|
"react.production.min.js (UMD_PROD)": {
|
|
"size": 6634,
|
|
"gzip": 2764
|
|
},
|
|
"react.development.js (NODE_DEV)": {
|
|
"size": 45713,
|
|
"gzip": 12098
|
|
},
|
|
"react.production.min.js (NODE_PROD)": {
|
|
"size": 5611,
|
|
"gzip": 2364
|
|
},
|
|
"React-dev.js (FB_DEV)": {
|
|
"size": 43022,
|
|
"gzip": 11328
|
|
},
|
|
"React-prod.js (FB_PROD)": {
|
|
"size": 24837,
|
|
"gzip": 6709
|
|
},
|
|
"react-dom.development.js (UMD_DEV)": {
|
|
"size": 622438,
|
|
"gzip": 143476
|
|
},
|
|
"react-dom.production.min.js (UMD_PROD)": {
|
|
"size": 100793,
|
|
"gzip": 31792
|
|
},
|
|
"react-dom.development.js (NODE_DEV)": {
|
|
"size": 584733,
|
|
"gzip": 134780
|
|
},
|
|
"react-dom.production.min.js (NODE_PROD)": {
|
|
"size": 105201,
|
|
"gzip": 33053
|
|
},
|
|
"ReactDOMFiber-dev.js (FB_DEV)": {
|
|
"size": 581810,
|
|
"gzip": 134178
|
|
},
|
|
"ReactDOMFiber-prod.js (FB_PROD)": {
|
|
"size": 413106,
|
|
"gzip": 92244
|
|
},
|
|
"react-dom-test-utils.development.js (NODE_DEV)": {
|
|
"size": 41688,
|
|
"gzip": 11099
|
|
},
|
|
"ReactTestUtils-dev.js (FB_DEV)": {
|
|
"size": 41250,
|
|
"gzip": 11033
|
|
},
|
|
"react-dom-unstable-native-dependencies.development.js (UMD_DEV)": {
|
|
"size": 84992,
|
|
"gzip": 21295
|
|
},
|
|
"react-dom-unstable-native-dependencies.production.min.js (UMD_PROD)": {
|
|
"size": 14441,
|
|
"gzip": 4650
|
|
},
|
|
"react-dom-unstable-native-dependencies.development.js (NODE_DEV)": {
|
|
"size": 80785,
|
|
"gzip": 19972
|
|
},
|
|
"react-dom-unstable-native-dependencies.production.min.js (NODE_PROD)": {
|
|
"size": 14003,
|
|
"gzip": 4510
|
|
},
|
|
"ReactDOMUnstableNativeDependencies-dev.js (FB_DEV)": {
|
|
"size": 80222,
|
|
"gzip": 19873
|
|
},
|
|
"ReactDOMUnstableNativeDependencies-prod.js (FB_PROD)": {
|
|
"size": 65170,
|
|
"gzip": 15532
|
|
},
|
|
"react-dom-server.browser.development.js (UMD_DEV)": {
|
|
"size": 130213,
|
|
"gzip": 33601
|
|
},
|
|
"react-dom-server.browser.production.min.js (UMD_PROD)": {
|
|
"size": 15134,
|
|
"gzip": 5909
|
|
},
|
|
"react-dom-server.browser.development.js (NODE_DEV)": {
|
|
"size": 100133,
|
|
"gzip": 26461
|
|
},
|
|
"react-dom-server.browser.production.min.js (NODE_PROD)": {
|
|
"size": 15038,
|
|
"gzip": 5882
|
|
},
|
|
"ReactDOMServer-dev.js (FB_DEV)": {
|
|
"size": 99554,
|
|
"gzip": 26365
|
|
},
|
|
"ReactDOMServer-prod.js (FB_PROD)": {
|
|
"size": 42690,
|
|
"gzip": 11892
|
|
},
|
|
"react-dom-server.node.development.js (NODE_DEV)": {
|
|
"size": 102395,
|
|
"gzip": 27013
|
|
},
|
|
"react-dom-server.node.production.min.js (NODE_PROD)": {
|
|
"size": 15963,
|
|
"gzip": 6214
|
|
},
|
|
"react-art.development.js (UMD_DEV)": {
|
|
"size": 368779,
|
|
"gzip": 81552
|
|
},
|
|
"react-art.production.min.js (UMD_PROD)": {
|
|
"size": 82740,
|
|
"gzip": 25652
|
|
},
|
|
"react-art.development.js (NODE_DEV)": {
|
|
"size": 293112,
|
|
"gzip": 62358
|
|
},
|
|
"react-art.production.min.js (NODE_PROD)": {
|
|
"size": 52107,
|
|
"gzip": 16388
|
|
},
|
|
"ReactARTFiber-dev.js (FB_DEV)": {
|
|
"size": 291853,
|
|
"gzip": 62333
|
|
},
|
|
"ReactARTFiber-prod.js (FB_PROD)": {
|
|
"size": 217374,
|
|
"gzip": 45136
|
|
},
|
|
"ReactNativeFiber-dev.js (RN_DEV)": {
|
|
"size": 278956,
|
|
"gzip": 48430
|
|
},
|
|
"ReactNativeFiber-prod.js (RN_PROD)": {
|
|
"size": 217084,
|
|
"gzip": 37619
|
|
},
|
|
"react-test-renderer.development.js (NODE_DEV)": {
|
|
"size": 296835,
|
|
"gzip": 62765
|
|
},
|
|
"ReactTestRendererFiber-dev.js (FB_DEV)": {
|
|
"size": 295566,
|
|
"gzip": 62732
|
|
},
|
|
"react-test-renderer-shallow.development.js (NODE_DEV)": {
|
|
"size": 9370,
|
|
"gzip": 2338
|
|
},
|
|
"ReactShallowRenderer-dev.js (FB_DEV)": {
|
|
"size": 9027,
|
|
"gzip": 2253
|
|
},
|
|
"react-noop-renderer.development.js (NODE_DEV)": {
|
|
"size": 284424,
|
|
"gzip": 59683
|
|
},
|
|
"react-dom-server.development.js (UMD_DEV)": {
|
|
"size": 120897,
|
|
"gzip": 30672
|
|
},
|
|
"react-dom-server.production.min.js (UMD_PROD)": {
|
|
"size": 20136,
|
|
"gzip": 7672
|
|
},
|
|
"react-dom-server.development.js (NODE_DEV)": {
|
|
"size": 90047,
|
|
"gzip": 23257
|
|
},
|
|
"react-dom-server.production.min.js (NODE_PROD)": {
|
|
"size": 18718,
|
|
"gzip": 7197
|
|
},
|
|
"react-dom-node-stream.development.js (NODE_DEV)": {
|
|
"size": 91741,
|
|
"gzip": 23757
|
|
},
|
|
"react-dom-node-stream.production.min.js (NODE_PROD)": {
|
|
"size": 19585,
|
|
"gzip": 7520
|
|
},
|
|
"ReactNativeRTFiber-dev.js (RN_DEV)": {
|
|
"size": 210860,
|
|
"gzip": 35891
|
|
},
|
|
"ReactNativeRTFiber-prod.js (RN_PROD)": {
|
|
"size": 158763,
|
|
"gzip": 26631
|
|
},
|
|
"react-test-renderer.production.min.js (NODE_PROD)": {
|
|
"size": 53651,
|
|
"gzip": 16653
|
|
},
|
|
"react-test-renderer-shallow.production.min.js (NODE_PROD)": {
|
|
"size": 4630,
|
|
"gzip": 1665
|
|
},
|
|
"react-dom-test-utils.production.min.js (NODE_PROD)": {
|
|
"size": 11608,
|
|
"gzip": 4241
|
|
},
|
|
"react-reconciler.development.js (NODE_DEV)": {
|
|
"size": 271721,
|
|
"gzip": 56840
|
|
},
|
|
"react-reconciler.production.min.js (NODE_PROD)": {
|
|
"size": 37669,
|
|
"gzip": 11733
|
|
},
|
|
"ReactNativeCSFiber-dev.js (RN_DEV)": {
|
|
"size": 203248,
|
|
"gzip": 34141
|
|
},
|
|
"ReactNativeCSFiber-prod.js (RN_PROD)": {
|
|
"size": 153658,
|
|
"gzip": 25401
|
|
}
|
|
}
|
|
} |