-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
app.js content hash depends on project path when using router + vuex + config in package.json #3533
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
Is this related d5ed280 ? |
Nope |
I mean, you can now apply the |
Oh ok I thought Also it's still weird that the issue doesn't happen with the config in separate files, but happens with the config in package.json. |
// babel.config.js
module.exports = {
presets: [
['@vue/app', {
absoluteRuntime: false
}]
]
} |
Many thanks, I was trying hard stuff like
Now it works perfectly. Still confused about why it happens with this configuration only. Feel free to close this issue if this isn't relevant. |
Just figured it out. It is related to this bug: #2983 and is expected to be fixed in v3.5. module.exports = {
parallel: false
} I'll close this issue as it's now a duplication of #2983.
We can't because we can't be sure if the |
Just tried to reproduce this with the new v3.5, I confirm it's no longer happening 🥇 |
@sodatea Sadly the issue came back with v3.5.1. I tried several combos to find the specific package/version reintroducing the issue and the culprit is
=> ✅
=> ❌ (also it seems like the npm package I understand this issue is difficult to reproduce but it would be great to have a test to avoid reintroducing it in the future as it can be critical for production environment builds. Thanks ! |
Version
3.4.1
Environment info
Steps to reproduce
What is expected?
Content hash should be the same
What is actually happening?
Content hash is different
Use case:
I have a vue app deployed with capistrano on 2 different VMs.
At each deploy, on each VM:
/home/user/releases/20190227110836
)npm run build
is runIf the directories are not created at the same time, they will have different names, which will generate different content hashes on my app.js on each VM.
The text was updated successfully, but these errors were encountered: