-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
Reproducible builds #739
Comments
You could store the http://webpack.github.io/docs/configuration.html#recordspath-recordsinputpath-recordsoutputpath However, until #295 is fixed, this will only work on the same machine |
|
I use |
@shamrin Out of curiosity, why do you need builds to be reproducible? (I don't doubt you have a good reason. I want to inform myself). |
If you use hashes in filenames for long-term browser caching, you want them to stay the same for unchanged files. |
@gaearon Makes sense. Thanks! |
For anyone seeing this in 2019: The OccurenceOrderPlugin is now included by default, so builds should by default be reproducible:
https://gist.github.com/sokra/27b24881210b56bbaff7#occurrence-order |
I'm building my web app + React, taken from npm (following advice from webpack docs). Everything works fine, except that builds are not reproducible.
Every time I run
webpack
for the same source, I get slightly differentbundle.js
, with changes like this:Is there a way to make webpack build reproducible?
The text was updated successfully, but these errors were encountered: