提交 fddf106c 编写于 作者: fxy060608's avatar fxy060608

Merge branch 'dev' of https://github.com/dcloudio/uni-app into alpha

......@@ -54,9 +54,11 @@ async function build (args, api, options) {
stopSpinner
} = require('@vue/cli-shared-utils')
const runByAliIde = process.env.BUILD_ENV === 'ali-ide'
log()
if (!runByHBuilderX) {
if (!runByHBuilderX && !runByAliIde) {
logWithSpinner(`开始编译当前项目至 ${process.env.UNI_PLATFORM} 平台...`)
}
......@@ -107,7 +109,7 @@ async function build (args, api, options) {
return new Promise((resolve, reject) => {
webpack(webpackConfigs, (err, stats) => {
if (!runByHBuilderX) {
if (!runByHBuilderX && !runByAliIde) {
stopSpinner(false)
}
if (err) {
......
......@@ -91,5 +91,8 @@ module.exports = function chainWebpack (platformOptions) {
webpackConfig.plugins.delete('progress')
webpackConfig.plugins.delete('friendly-errors')
}
if (process.env.BUILD_ENV === 'ali-ide') {
webpackConfig.plugins.delete('progress')
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册