Skip to content

Commit 28dedfb

Browse files
rafecafacebook-github-bot
authored andcommittedSep 24, 2018
Cleanup the transformer flow types
Summary: Since the options that are passed to the `babelTransformer` are not exactly the same ones as the `transformer` receives, we need to have a specific object for them. This allows us to make the transformer options object strict (since unfortunately the `babeltransformer` options object comes from many places and needs a bit of work to be able to be strict... Reviewed By: mjesun Differential Revision: D9309173 fbshipit-source-id: 0a92381968f17e5eb6c4740c1ca89580fa7ee4d3
1 parent 2e0d5c8 commit 28dedfb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎jest/preprocessor.js

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ module.exports = {
5353
ast: true, // needed for open source (?) https://github.com/facebook/react-native/commit/f8d6b97140cffe8d18b2558f94570c8d1b410d5c#r28647044
5454
dev: true,
5555
disableBabelRuntime: true,
56+
experimentalImportSupport: false,
57+
hot: false,
5658
inlineRequires: true,
5759
minify: false,
5860
platform: '',

0 commit comments

Comments
 (0)