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

Make content hash consistent across machines #1085

Commits on Apr 9, 2020

  1. Make content hash consistent across machines

    The metadata used for calculating the content/chunk hash by webpack was including the absolute paths for all the definition files and additional dependencies, which caused the calculated hash to be different depending on the absolute path of the root context. This caused the hash to change between different machines even if there were no changes in the code, which in turn causes issues in certain deployment environments where the build is executed in different server, as is the case in the default Rails deployments in AWS OpsWorks.
    This commit changes the paths added to the build metadata to be relative to the root context, which makes the content/chunk hash calculation consistent across builds in different machines.
    elyalvarado committed Apr 9, 2020
    Copy the full SHA
    d95227f View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. Copy the full SHA
    cf7601f View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2020

  1. Copy the full SHA
    e4372fb View commit details
    Browse the repository at this point in the history