-
Notifications
You must be signed in to change notification settings - Fork 786
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
bug: Filename fingerprint/hash pointed from app.js (es5) remains same even when content updated #5011
Comments
Thanks for the issue! This issue has been labeled as Please reproduce this issue in an Stencil starter component library and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed. If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue. For a guide on how to create a good reproduction, see our Contributing Guide. |
Please check this repo https://github.com/Unluckynerd/Stencil-Components/ For reproduction:
Filename remains same for these branches. Version used: |
@Aadhisivam I was able to confirm what you're seeing. I'll get this labeled and ingested into our backlog for future work! |
Did a little investigation on this. The hashes that are used as filenames are generated by Rollup, so Stencil doesn't directly control how that works. I believe this issue maybe have something to do with rollup/rollup#2839, but I haven't conclusively determined that to be the case. It's possible that upgrading to Rollup v3 will fix the issue (and we may not be able to fix it without doing that unfortunately). |
Prerequisites
Stencil Version
3.0.1
Current Behavior
ES5 - app.js pointing to some map file which has file-path for each components, whose fingerprint/hash remains same even when the contents inside changed.
When using app.js as script src.. couldn't get the latest components from cdn as filename remains same.
Tested with v3 and v4 both has the issue.
Expected Behavior
Filename to be dynamic based on content sha.
System Info
No response
Steps to Reproduce
Code Reproduction URL
Additional Information
No response
The text was updated successfully, but these errors were encountered: