From 48a1e3cb946e59d8d32cd795cc8fdf4db8c2bf17 Mon Sep 17 00:00:00 2001 From: Pines-Cheng Date: Wed, 3 Apr 2019 17:03:47 +0800 Subject: [PATCH] =?UTF-8?q?fix(rn):=20=E7=9B=B4=E6=8E=A5=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E5=91=BD=E4=BB=A4=E7=9B=AE=E5=BD=95=E4=B8=8D?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-cli/src/rn.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/taro-cli/src/rn.js b/packages/taro-cli/src/rn.js index 7f60a0d89e16..3210ba7bbd28 100644 --- a/packages/taro-cli/src/rn.js +++ b/packages/taro-cli/src/rn.js @@ -181,6 +181,7 @@ function buildTemp () { } function buildBundle () { + fs.ensureDirSync(tempDir) process.chdir(tempDir) // 通过 jdreact 构建 bundle if (rnConfig.bundleType === 'jdreact') {