-
Notifications
You must be signed in to change notification settings - Fork 113
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
Use --output-hashing none
to prevent random names for built main.js
#197
Comments
Hi, thanks for opening this issue. I don't think we need the hashed names. But turning it off will not solve the underlying issue of the main.js file not being the same. I did some quick research about this |
Yes turning off hashing just fixes the naming diff. I will double check
everything and update you.
…On Wed, Jun 21, 2023, 3:23 PM AndreasGassmann ***@***.***> wrote:
Hi, thanks for opening this issue.
I don't think we need the hashed names. But turning it off will not solve
the underlying issue of the main.js file not being the same. I did some
quick research about this tslint_awaiter and I didn't find what the cause
for this could be. Maybe the environment is not exactly the same? To
reproduce the apk, do you have exactly the same node version and global
dependencies that we use in our Dockerfile?
—
Reply to this email directly, view it on GitHub
<#197 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTM4ZFNMHJPBZIW7OYJTN3XMLOEVANCNFSM6AAAAAAZNZALFY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Well we use your docker file located on |
When testing for reproducibility at WalletScrutiny, We get a diff in index.html which is caused by the hashed main.js name that forces us to manually compare and review the results. If it's not a technical reason to have bundled main.js name hashed then it would be helpful to disable hashing by adding
--output-hashing none
when building using ng. like:Or maybe configure ng to use a specific name for bundled files (like using named chunks).
Currently the diff between build and Playstore APK looks like:
Also there is a minor diff in main.*.js files:
The text was updated successfully, but these errors were encountered: