Skip to content

Commit

Permalink
Use CommonJS in feature flags definitions to simplify loading from No…
Browse files Browse the repository at this point in the history
…de.js (#46887)

Summary:
Pull Request resolved: #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
  • Loading branch information
rubennorte authored and facebook-github-bot committed Oct 9, 2024
1 parent a268b2b commit 5f00db9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 5f00db9

Please sign in to comment.