Disable JS urls at build level for www (#15230)

This will be on by default in open source for the next major.
This commit is contained in:
Sebastian Markbåge
2019-03-28 14:36:36 -07:00
committed by GitHub
parent fb6b50871b
commit c7a2dce50a
@@ -16,7 +16,6 @@ export const {
debugRenderPhaseSideEffectsForStrictMode,
replayFailedUnitOfWorkWithInvokeGuardedCallback,
warnAboutDeprecatedLifecycles,
disableJavaScriptURLs,
disableYielding,
disableInputAttributeSyncing,
warnAboutShorthandPropertyCollision,
@@ -39,6 +38,8 @@ export const enableStableConcurrentModeAPIs = false;
export const enableSuspenseServerRenderer = true;
export const disableJavaScriptURLs = true;
// I've chosen to make this a static flag instead of a dynamic flag controlled
// by a GK so that it doesn't increase bundle size. It should still be easy
// to rollback by reverting the commit that turns this on.