提交 482f7d8b 编写于 作者: Q qiang

chore: Merge branch 'next' of github.com:dcloudio/uni-app into next

......@@ -48,10 +48,13 @@ export function resolveSourceMapPath(
outputDir?: string,
platform?: UniApp.PLATFORM
) {
let dir = platform || process.env.UNI_SUB_PLATFORM || process.env.UNI_PLATFORM
if (dir === 'app-plus') {
dir = 'app'
}
return path.resolve(
outputDir || process.env.UNI_OUTPUT_DIR,
'../.sourcemap/' +
(platform || process.env.UNI_SUB_PLATFORM || process.env.UNI_PLATFORM)
'../.sourcemap/' + dir
)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册