diff --git a/.flowconfig b/.flowconfig index 9aed00b614e..a2cefb98a31 100644 --- a/.flowconfig +++ b/.flowconfig @@ -1,6 +1,4 @@ [ignore] -/node_modules/* -/app/node_modules/* /app/main.prod.js /app/main.prod.js.map /app/dist/.* @@ -8,7 +6,7 @@ /release/.* /dll/.* /release/.* -/git/.* +/.git/.* [include] @@ -20,6 +18,9 @@ esproposal.class_static_fields=enable esproposal.class_instance_fields=enable esproposal.export_star_as=enable +module.system.node.resolve_dirname=node_modules +module.system.node.resolve_dirname=app/node_modules + # Map stylesheets to csssmodule tyoe def module.name_mapper.extension='css' -> '/internals/flow/CSSModule.js.flow' module.name_mapper.extension='styl' -> '/internals/flow/CSSModule.js.flow'