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

fix(app-plus): wxcomponents (https://ask.dcloud.net.cn/question/77358)

上级 31d00592
......@@ -124,11 +124,15 @@ const PLATFORMS = {
assetsDir
}) {
const files = ['hybrid/html']
let wxcomponents = []
if (!process.env.UNI_USING_NATIVE) {
files.push('wxcomponents')
wxcomponents = getCopyOptions(['wxcomponents'], {
to: path.resolve(process.env.UNI_OUTPUT_TMP_DIR, 'wxcomponents')
})
}
return [
...getStaticCopyOptions(assetsDir),
...wxcomponents,
...getCopyOptions(files)
]
}
......
{
"name": "@dcloudio/uni-cli-shared",
"version": "0.2.990",
"version": "0.2.991",
"description": "uni-cli-shared",
"main": "lib/index.js",
"files": [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册