From fa543e22f67490510b368977a2316766030b9e72 Mon Sep 17 00:00:00 2001 From: Kushagra Gour Date: Thu, 28 Jun 2018 02:21:15 +0530 Subject: [PATCH] Replaced with .babelrc from preactjs template (which I missed) https://github.com/preactjs-templates/default/blob/master/template/src/.babelrc --- .babelrc | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.babelrc b/.babelrc index feb9f67..ba557b0 100644 --- a/.babelrc +++ b/.babelrc @@ -1,11 +1,5 @@ { - "presets": [ - "react", - "env" - ], - "plugins": [ - ["transform-react-jsx", { - "pragma": "h" - }] - ] - } + "presets": [ + ["preact-cli/babel", { "modules": "commonjs" }] + ] +}