Disable JS urls at build level for www (#15230)
This will be on by default in open source for the next major.
Sebastian Markbåge committed
Mar 28, 2019 at 14:36 UTC
c7a2dce50adc6e6d2b12ea8a17fe7b4efcc27055
1 file changed
+2
-1
packages/shared/forks/ReactFeatureFlags.www.js
+2
-1
@@ -16,7 +16,6 @@ export const {
16
debugRenderPhaseSideEffectsForStrictMode,
17
replayFailedUnitOfWorkWithInvokeGuardedCallback,
18
warnAboutDeprecatedLifecycles,
19
- disableJavaScriptURLs,
19
disableYielding,
20
disableInputAttributeSyncing,
21
warnAboutShorthandPropertyCollision,
@@ -39,6 +38,8 @@ export const enableStableConcurrentModeAPIs = false;
38
39
export const enableSuspenseServerRenderer = true;
40
41
+export const disableJavaScriptURLs = true;
42
+
43
// I've chosen to make this a static flag instead of a dynamic flag controlled
44
// by a GK so that it doesn't increase bundle size. It should still be easy
45
// to rollback by reverting the commit that turns this on.