Closed jcolfej closed 4 years ago
if i understand you correctly, u mean u also want to include images & fonts external paths to be hashed as well ?
or do u mean hash them if they are in the css content ?
if the later its already handled https://github.com/ctf0/laravel-mix-versionhash/blob/193e26c83a1e33a0dd68624950b54fd60d366ee2/src/index.js#L98
if the first am not sure if its possible but i think there are already other solutions available for exactly that 🤔
@ctf0 what our colleague meant is that although here at github the code is hash implementation in files inside css but in the npm package it is coming without this part of the code in version 1.1.1, it needs to update the npm repository with last code.
ah yes, will publish it now
We currently use mix.version() but we need hash to be a part of filename for cache and have a 404 on other hash value.
This plugin solve the problem for JS and CSS file but don't do the job for images or fonts...
Can you add these feature ? <3 <3 <3