Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make content hash consistent across machines (TypeStrong#1085)
* 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. * Update Changelog and package.json to v7.0.2
- Loading branch information