From e072a3d993a60bb553cdded957bb5c0910af912e Mon Sep 17 00:00:00 2001 From: kumavis Date: Tue, 12 Mar 2019 23:55:28 +0800 Subject: build - babel - move config to babelrc (#6284) --- .babelrc | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to '.babelrc') diff --git a/.babelrc b/.babelrc index 9b1d5409b..cfa759dd9 100644 --- a/.babelrc +++ b/.babelrc @@ -1,4 +1,23 @@ { - "presets": [["env", { "targets": { "browsers": [">0.25%", "not ie 11", "not op_mini all"] } } ], "react", "stage-0"], - "plugins": ["transform-runtime", "transform-async-to-generator", "transform-class-properties"] -} + "presets": [ + [ + "env", + { + "targets": { + "browsers": [ + ">0.25%", + "not ie 11", + "not op_mini all" + ] + } + } + ], + "react", + "stage-0" + ], + "plugins": [ + "transform-runtime", + "transform-async-to-generator", + "transform-class-properties" + ] +} \ No newline at end of file -- cgit v1.2.3