Skip to content

Commit

Permalink
fix Flow failure breaking yarn run build
Browse files Browse the repository at this point in the history
Summary:
`flow-api-translator` can't handle `module.exports`.  Shift this to ESM style exports like the other built packages.

Changelog: [Internal] - Fixing an internal build script broken by D56243647

Reviewed By: cipolleschi

Differential Revision: D56638506
  • Loading branch information
blakef authored and facebook-github-bot committed Apr 26, 2024
1 parent 2455eab commit 203520d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-cli-utils/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ if (!process.env.BUILD_EXCLUDE_BABEL_REGISTER) {
}
}

module.exports = require('./index.flow.js');
export * from './index.flow.js';

0 comments on commit 203520d

Please sign in to comment.