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

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

......@@ -18,10 +18,16 @@ module.exports = (api, options) => {
const platformOptions = require('./lib/' + process.env.UNI_PLATFORM)
let vueConfig = platformOptions.vueConfig
if (typeof vueConfig === 'function') {
vueConfig = vueConfig(options, api)
}
Object.assign(options, { // TODO 考虑非 HBuilderX 运行时,可以支持自定义输出目录
outputDir: process.env.UNI_OUTPUT_TMP_DIR || process.env.UNI_OUTPUT_DIR,
assetsDir
}, platformOptions.vueConfig)
}, vueConfig)
require('./lib/options')(options)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册