Skip to content

Commit c1ba7b8

Browse files
authored
Remove www scheduler fork (facebook#13545)
Remove unused www scheduler fork
1 parent b473d5f commit c1ba7b8

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

packages/shared/forks/Schedule.www.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

scripts/rollup/forks.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,6 @@ const forks = Object.freeze({
116116

117117
schedule: (bundleType, entry, dependencies) => {
118118
switch (bundleType) {
119-
case FB_WWW_DEV:
120-
case FB_WWW_PROD:
121-
case FB_WWW_PROFILING:
122-
return 'shared/forks/Schedule.www.js';
123119
case UMD_DEV:
124120
case UMD_PROD:
125121
if (dependencies.indexOf('react') === -1) {
@@ -131,7 +127,7 @@ const forks = Object.freeze({
131127
// package instead of requiring it to be loaded via a separate <script> tag
132128
return 'shared/forks/Schedule.umd.js';
133129
default:
134-
// For CJS bundles, use the shared NPM package.
130+
// For other bundles, use the shared NPM package.
135131
return null;
136132
}
137133
},
@@ -149,7 +145,7 @@ const forks = Object.freeze({
149145
// package instead of requiring it to be loaded via a separate <script> tag
150146
return 'shared/forks/ScheduleTracking.umd.js';
151147
default:
152-
// For CJS bundles, use the shared NPM package.
148+
// For other bundles, use the shared NPM package.
153149
return null;
154150
}
155151
},

0 commit comments

Comments
 (0)