Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mapping.txt这里的id值是必填吗 #80

Open
xingwen93 opened this issue Mar 30, 2022 · 1 comment
Open

mapping.txt这里的id值是必填吗 #80

xingwen93 opened this issue Mar 30, 2022 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@xingwen93
Copy link

image
mapping.txt这里的id值是必填吗

@xingwen93 xingwen93 added the bug Something isn't working label Mar 30, 2022
@JingYeoh
Copy link
Member

JingYeoh commented Apr 7, 2022

mapping 是为了固定资源以及更快找到资源的产物,建议不要自己去修改 mapping 文件,如果有需求的话使用上次打包后生成的 mapping 文件。

固定资源含义:

资源混淆的规则是根据文件名称来决定的,每次新增/删除文件都会导致文件的顺序发生变化,同一个资源可能每次混淆后的名称都不同,mapping 文件会固定该资源混淆后的名称,如果没有特殊的要求建议不传递 mapping

@JingYeoh JingYeoh added help wanted Extra attention is needed and removed bug Something isn't working labels Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants