add babel-plugin-console

This commit is contained in:
fxy060608 2019-04-16 14:28:10 +08:00
parent 42419694f4
commit 84cd695863

View File

@ -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)