From 729da075cd69b305dedc05f3d63e81fc4761b20c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20M=C3=B6lders?= Date: Mon, 10 Apr 2017 12:01:04 +0200 Subject: [PATCH] Disables "modules" compilation via babel-preset-env so that webpack can do it on it's own and use tree-shaking --- lib/install/examples/react/.babelrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/install/examples/react/.babelrc b/lib/install/examples/react/.babelrc index 4ffef06db..be2c4116a 100644 --- a/lib/install/examples/react/.babelrc +++ b/lib/install/examples/react/.babelrc @@ -1,3 +1,6 @@ { - "presets": ["env", "react"] + "presets": [ + ["env", { "modules": false } ], + "react" + ] }