From bee61a1f31c5d643fe4666eceb96282ab1c0ad73 Mon Sep 17 00:00:00 2001 From: sorrelbri Date: Fri, 7 Feb 2020 16:16:47 -0800 Subject: [PATCH] add @babel/preset-flow config options all equals true --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7ee959e..63764e7 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,11 @@ "test": "lerna run test", "bootstrap": "lerna bootstrap" }, - "presets": ["@babel/preset-flow"], + "presets": [ + ["@babel/preset-flow", { + "all": true + }] + ], "devDependencies": { "@babel/preset-flow": "^7.8.3", "@testing-library/jest-dom": "^4.2.4",