Created
August 4, 2016 01:43
-
-
Save torifat/756443d1bab62abda5f87c3ca2c90dc8 to your computer and use it in GitHub Desktop.
Default .flowconfig for create-react-app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[libs] | |
./node_modules/fbjs/flow/lib | |
[options] | |
esproposal.class_static_fields=enable | |
esproposal.class_instance_fields=enable | |
module.name_mapper='^\(.*\)\.css$' -> 'react-scripts/config/flow/css' | |
module.name_mapper='^\(.*\)\.\(jpg\|png\|gif\|eot\|svg\|ttf\|woff\|woff2\|mp4\|webm\)$' -> 'react-scripts/config/flow/file' | |
suppress_type=$FlowIssue | |
suppress_type=$FlowFixMe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Really old, but I found this today, two years ago, when I looking for
flowconfig create-react-app
on Google.And I don't know if simply empty
.flowconfig
file is good enough config today.I'm not sure if scanning entire
node_modules
is good way.It looks that it takes time only at first run, so it should be fine to use empty `.flowconfig: