From 10f0fc0d08e95400b0e177c7160831ae42e20ba3 Mon Sep 17 00:00:00 2001 From: David Harush Date: Tue, 14 Jul 2020 11:49:58 +0300 Subject: [PATCH] fix babelrc --- .babelrc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.babelrc b/.babelrc index dae5c55..a3caa4e 100644 --- a/.babelrc +++ b/.babelrc @@ -1,13 +1,9 @@ { + "presets": ["@babel/env", "@babel/react", "@babel/typescript"], "env": { - "test": { - "presets": ["@babel/env", "@babel/react", "@babel/typescript"] - }, - "prod": { - "presets": ["@babel/env", "@babel/react", "@babel/typescript"] - }, + "test": {}, + "prod": {}, "dev": { - "presets": ["@babel/env", "@babel/react", "@babel/typescript"], "plugins": ["react-refresh/babel"] } }