fix Flow failure breaking yarn run build

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

fbshipit-source-id: f5a4c7bea06b7f95300388e3d37cf0d377bc3b17
This commit is contained in:
Blake Friedman
2024-04-26 12:58:04 -07:00
committed by Facebook GitHub Bot
parent 2455eab9df
commit d18229bc92
+1 -1
View File
@@ -31,4 +31,4 @@ if (!process.env.BUILD_EXCLUDE_BABEL_REGISTER) {
}
}
module.exports = require('./index.flow.js');
export * from './index.flow.js';