diff --git a/src/component/utils/DraftFeatureFlags-core.js b/src/component/utils/DraftFeatureFlags-core.js new file mode 100644 index 0000000000..ba0b6f1391 --- /dev/null +++ b/src/component/utils/DraftFeatureFlags-core.js @@ -0,0 +1,21 @@ +/** + * Copyright 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule DraftFeatureFlags-core + * @flow + */ + +'use strict'; + +var DraftFeatureFlags = { + draft_accept_selection_after_refocus: false, + draft_killswitch_allow_nontextnodes: false, + draft_segmented_entities_behavior: false, +}; + +module.exports = DraftFeatureFlags; diff --git a/src/component/utils/DraftFeatureFlags.js b/src/stubs/DraftFeatureFlags.js similarity index 77% rename from src/component/utils/DraftFeatureFlags.js rename to src/stubs/DraftFeatureFlags.js index 973497f52d..237ca76c74 100644 --- a/src/component/utils/DraftFeatureFlags.js +++ b/src/stubs/DraftFeatureFlags.js @@ -12,9 +12,6 @@ 'use strict'; -var DraftFeatureFlags = { - draft_killswitch_allow_nontextnodes: false, - draft_segmented_entities_behavior: false, -}; +var DraftFeatureFlags = require('DraftFeatureFlags-core'); module.exports = DraftFeatureFlags;