From fd59f4ff02408eead54a86eae129edf2cc142645 Mon Sep 17 00:00:00 2001 From: Tom Huang Date: Tue, 20 Nov 2018 10:48:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(templates)=EF=BC=9A=E4=BF=AE=E5=A4=8Ddecora?= =?UTF-8?q?tor=E6=97=A0=E6=B3=95=E4=BD=9C=E7=94=A8=E5=88=B0property?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20(#1184)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-cli/templates/default/config/index | 2 +- packages/taro-cli/templates/mobx/config/index | 2 +- packages/taro-cli/templates/redux/config/index | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/taro-cli/templates/default/config/index b/packages/taro-cli/templates/default/config/index index 579a1d5a7565..65293b8b0703 100644 --- a/packages/taro-cli/templates/default/config/index +++ b/packages/taro-cli/templates/default/config/index @@ -16,8 +16,8 @@ const config = { 'env' ], plugins: [ - 'transform-class-properties', 'transform-decorators-legacy', + 'transform-class-properties', 'transform-object-rest-spread' ] } diff --git a/packages/taro-cli/templates/mobx/config/index b/packages/taro-cli/templates/mobx/config/index index d0a1165390fa..72d21bca0a89 100644 --- a/packages/taro-cli/templates/mobx/config/index +++ b/packages/taro-cli/templates/mobx/config/index @@ -16,8 +16,8 @@ const config = { 'env' ], plugins: [ - 'transform-class-properties', 'transform-decorators-legacy', + 'transform-class-properties', 'transform-object-rest-spread' ] } diff --git a/packages/taro-cli/templates/redux/config/index b/packages/taro-cli/templates/redux/config/index index 4a1641e8a7ff..fe483a6970dc 100644 --- a/packages/taro-cli/templates/redux/config/index +++ b/packages/taro-cli/templates/redux/config/index @@ -16,8 +16,8 @@ const config = { 'env' ], plugins: [ - 'transform-class-properties', 'transform-decorators-legacy', + 'transform-class-properties', 'transform-object-rest-spread' ] }