mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
2455eab9df
commit
d18229bc92
@@ -31,4 +31,4 @@ if (!process.env.BUILD_EXCLUDE_BABEL_REGISTER) {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = require('./index.flow.js');
|
||||
export * from './index.flow.js';
|
||||
|
||||
Reference in New Issue
Block a user