Skip to content

Commit

Permalink
fix: review
Browse files Browse the repository at this point in the history
  • Loading branch information
oasis-cloud committed Nov 11, 2024
1 parent 802a8be commit 6455aa9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/rn/update-taro-entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@ const createConfig = async () => {

item.packages.map((it) => {
if (!(it.exportEmpty == false) && it.show && it.taro) {
if (param) {
if (specialComponent(it.name)) {
co.pages.push(`pages/${it.name.toLowerCase()}/index`)
}
} else {
if (!param || specialComponent(it.name)) {
co.pages.push(`pages/${it.name.toLowerCase()}/index`)
}
}
Expand Down

0 comments on commit 6455aa9

Please sign in to comment.