I found that the generate: false setting had no effect. This is because the shareName2Prop map applies the removeNonRegLetter function to the package name @vueComposition-api as it's key. Therefore, when determining the needRemoveShared condition, we should also apply removeNonRegLetter to the chunk filename. This change is necessary for the program to work correctly.
Additional context
What is the purpose of this pull request?
[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other
Before submitting the PR, please make sure you do the following
Description
When I was working on the remote side and using the shared features with a scoped package, as in the following example
I found that the
generate: false
setting had no effect. This is because theshareName2Prop
map applies theremoveNonRegLetter
function to the package name@vueComposition-api
as it's key. Therefore, when determining theneedRemoveShared
condition, we should also applyremoveNonRegLetter
to the chunk filename. This change is necessary for the program to work correctly.Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).