mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Use CommonJS in feature flags definitions to simplify loading from Node.js (#46887)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/46887 Changelog: [internal] This is a small change to use CommonJS in `ReactNativeFeatureFlags.config.js` so the file can be easily imported from Node.js. Reviewed By: jorge-cab Differential Revision: D64039860 fbshipit-source-id: c84ddbdbfe942224e213d12b9496c41b73dd5731
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a268b2bf53
commit
5f00db970f
@@ -605,4 +605,5 @@ const definitions: FeatureFlagDefinitions = {
|
||||
},
|
||||
};
|
||||
|
||||
export default definitions;
|
||||
// Keep it as a CommonJS module so we can easily import it from Node.js
|
||||
module.exports = definitions;
|
||||
|
||||
Reference in New Issue
Block a user