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:
Rubén Norte
2024-10-09 03:40:20 -07:00
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;