mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
[Fire] Remove unused React fire fork (#16046)
This commit is contained in:
@@ -23,7 +23,7 @@ const packages = readdirSync(packagesRoot).filter(dir => {
|
||||
const moduleNameMapper = {};
|
||||
|
||||
// Allow bundle tests to read (but not write!) default feature flags.
|
||||
// This lets us determine whether we're running in Fire mode
|
||||
// This lets us determine whether we're running in different modes
|
||||
// without making relevant tests internal-only.
|
||||
moduleNameMapper[
|
||||
'^shared/ReactFeatureFlags'
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
const baseConfig = require('./config.base');
|
||||
|
||||
module.exports = Object.assign({}, baseConfig, {
|
||||
roots: ['<rootDir>/packages/react-dom'],
|
||||
setupFiles: [
|
||||
...baseConfig.setupFiles,
|
||||
require.resolve('./setupFire.js'),
|
||||
require.resolve('./setupHostConfigs.js'),
|
||||
],
|
||||
});
|
||||
@@ -1,9 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
jest.mock('react-dom', () => require.requireActual('react-dom/unstable-fire'));
|
||||
|
||||
jest.mock('shared/ReactFeatureFlags', () => {
|
||||
const ReactFeatureFlags = require.requireActual('shared/ReactFeatureFlags');
|
||||
ReactFeatureFlags.disableInputAttributeSyncing = true;
|
||||
return ReactFeatureFlags;
|
||||
});
|
||||
@@ -95,25 +95,6 @@ const bundles = [
|
||||
externals: ['react'],
|
||||
},
|
||||
|
||||
/******* React Fire *******/
|
||||
{
|
||||
bundleTypes: [
|
||||
UMD_DEV,
|
||||
UMD_PROD,
|
||||
UMD_PROFILING,
|
||||
NODE_DEV,
|
||||
NODE_PROD,
|
||||
NODE_PROFILING,
|
||||
FB_WWW_DEV,
|
||||
FB_WWW_PROD,
|
||||
FB_WWW_PROFILING,
|
||||
],
|
||||
moduleType: RENDERER,
|
||||
entry: 'react-dom/unstable-fire',
|
||||
global: 'ReactFire',
|
||||
externals: ['react'],
|
||||
},
|
||||
|
||||
/******* Test Utils *******/
|
||||
{
|
||||
moduleType: RENDERER_UTILS,
|
||||
|
||||
@@ -19,11 +19,6 @@ module.exports = [
|
||||
isFlowTyped: true,
|
||||
isFizzSupported: true,
|
||||
},
|
||||
{
|
||||
shortName: 'fire',
|
||||
entryPoints: ['react-dom/unstable-fire'],
|
||||
isFlowTyped: true,
|
||||
},
|
||||
{
|
||||
shortName: 'art',
|
||||
entryPoints: ['react-art'],
|
||||
|
||||
Reference in New Issue
Block a user