GoogleChromeLabs / tooling.report

tooling.report a quick way to determine the best build tool for your next web project, or if tooling migration is worth it, or how to adopt a tool's best practice into your existing configuration and code base.
https://tooling.report
Apache License 2.0
848 stars 49 forks source link

Add a test for reproducible/env independent builds #337

Open romainmenke opened 4 years ago

romainmenke commented 4 years ago

Not all bundlers create reproducible/env independent builds.

Creating a build from the same source code with the same dependencies should generate the same output. Even if the path to the source code changes or the environment in which the build runs is changed.

surma commented 4 years ago

We do have a test to check that only the relevant bits of the path to source are considered.

I like the idea of having another test in the same category that tests if the same hashes are generated across different operating systems (Linux, Linux in Docker, Windows, Mac).