From 84cd695863f81917e04b283716fdb35925362737 Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Tue, 16 Apr 2019 14:28:10 +0800 Subject: [PATCH] add babel-plugin-console --- template/common/babel.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/common/babel.config.js b/template/common/babel.config.js index 1355790..d1dbfa8 100644 --- a/template/common/babel.config.js +++ b/template/common/babel.config.js @@ -1,6 +1,6 @@ const plugins = [] -if (process.env.UNI_PLATFORM === 'app-plus') { +if (process.env.UNI_PLATFORM === 'app-plus' && process.env.UNI_USING_V8) { const path = require('path') const isWin = /^win/.test(process.platform)