From 2fe804be200c934080ad7758a61a28124f6e084a Mon Sep 17 00:00:00 2001 From: fsx950223 Date: Fri, 4 May 2018 17:42:44 +0800 Subject: [PATCH] fix(babel): fix decorator error with new version of babel --- .babelrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.babelrc b/.babelrc index 26b35ea7..cee89e82 100644 --- a/.babelrc +++ b/.babelrc @@ -8,7 +8,7 @@ ] } }], - "@babel/stage-2" + ["@babel/stage-2",{"decoratorsLegacy":true}] ], "comments": false }