-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
hash changed after build in prod mode in diffrent machine #1728
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
Comments
can you run a diff on those files to see if/where content differs? This might be hard for us to reproduce, so sharing the build result from both machines might help us. |
Also, maybe the line ending characters got changed between the two? (The components scoped CSS id takes into account the full content of the vue file.) |
@LinusBorg @Akryum this is my code link https://github.com/zhouxinyong/cli3-demo my ubuntu and windows are both using node.js v10.5.0. files are same under src folders. |
Should be fixed by vuejs/vue-loader@0766fe7 It's not released yet, but you can try it by applying the change to your local |
@yyx990803 I update vue-loader to 15.2.6, but the hash still change in diffrent machine. |
Hm, that's weird. please open an another issue in the vue-loader repository. This one in the wrong repository so I won't re-open in here. |
Version
3.0.0-rc.3
Steps to reproduce
What is expected?
the file hash is same after build in diffrent machine
What is actually happening?
the chunk-vendors hash is same in diffrent machine
but the app.js and app.css hash are not same!?
the below image show the build result in ubuntu:

and there is the build result in windows:

Is there any solution to fix this problem?
The text was updated successfully, but these errors were encountered: