From 3a847751fff55a0397e37fedb9e0034df39bf23b Mon Sep 17 00:00:00 2001 From: Pines-Cheng Date: Tue, 17 Dec 2019 16:58:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(cli):=202.0.0-beta.8.=20=E7=BC=96=E8=AF=91R?= =?UTF-8?q?N=E6=8A=A5=E9=94=99=20'babel'=20of=20undefined=20close=20#5093?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-cli/src/rn.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/taro-cli/src/rn.ts b/packages/taro-cli/src/rn.ts index c0a1b618d838..372fa28756d4 100644 --- a/packages/taro-cli/src/rn.ts +++ b/packages/taro-cli/src/rn.ts @@ -54,7 +54,7 @@ class Compiler { plugins: ICommonPlugin[] rnConfig hasJDReactOutput: boolean - babelConfig: any + // babelConfig: any // pxTransformConfig // pathAlias @@ -74,7 +74,7 @@ class Compiler { this.stylus = this.projectConfig.stylus this.less = this.projectConfig.less this.rnConfig = this.projectConfig.rn || {} - this.babelConfig = this.projectConfig.plugins.babel // 用来配置 babel + // this.babelConfig = this.projectConfig.plugins.babel // 用来配置 babel // 直接输出编译后代码到指定目录 if (this.rnConfig.outPath) {