Skip to content

Commit

Permalink
fix(taro-cli): 小程序组件打包时,将打包参数传递到依赖文件的打包中 (#4924)
Browse files Browse the repository at this point in the history
  • Loading branch information
undefinedlee authored and luckyadam committed Nov 26, 2019
1 parent cae2997 commit c2e7e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-cli/src/mini/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export async function buildSingleComponent (
return item
}).filter(item => item)
realComponentsPathList = realComponentsPathList.filter(item => !isComponentHasBeenBuilt(item.path as string) || notTaroComponents.has(item.path as string))
await buildDepComponents(realComponentsPathList)
await buildDepComponents(realComponentsPathList, buildConfig)
}
if (componentExportsMap.size && realComponentsPathList.length) {
realComponentsPathList.forEach(componentObj => {
Expand Down

0 comments on commit c2e7e04

Please sign in to comment.