I have three files. loader.js would create an iframe that loads content.html which then loads content.js. I publish loader.js so other people can include it in their site, and content html and js are internal.
Now I want to add a content hash to content.html and content.js so I can add some agressive cache config to these files.
When I build html with parcel build content.html, I got content.html and content.<hash>.js. Is there a way to put build hash to content.html as well and also update loader.js to include hashed content.html url?
from Parcel: add content hash to html
No comments:
Post a Comment