From 03c62f1c25c4b6e9b3f1590c06bedb05d031e4ee Mon Sep 17 00:00:00 2001
From: Dan Abramov <dan.abramov@gmail.com>
Date: Fri, 22 Jul 2016 13:07:31 +0100
Subject: [PATCH] Eject Flow stubs

Related to #72, c2ba7a4a6c941a310f75cf3670db79d53ff7eb0c
---
 scripts/eject.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/eject.js b/scripts/eject.js
index 75c06a4b6..c8c325054 100644
--- a/scripts/eject.js
+++ b/scripts/eject.js
@@ -42,6 +42,8 @@ prompt('Are you sure you want to eject? This action is permanent. [y/N]', functi
   var files = [
     path.join('config', 'babel.dev.js'),
     path.join('config', 'babel.prod.js'),
+    path.join('config', 'flow', 'css.js.flow'),
+    path.join('config', 'flow', 'file.js.flow'),
     path.join('config', 'eslint.js'),
     path.join('config', 'webpack.config.dev.js'),
     path.join('config', 'webpack.config.prod.js'),
@@ -65,6 +67,7 @@ prompt('Are you sure you want to eject? This action is permanent. [y/N]', functi
 
   // Copy the files over
   fs.mkdirSync(path.join(hostPath, 'config'));
+  fs.mkdirSync(path.join(hostPath, 'config', 'flow'));
   fs.mkdirSync(path.join(hostPath, 'scripts'));
 
   files.forEach(function(file) {
-- 
GitLab