ctf0 / laravel-mix-versionhash

Auto append hash to file instead of using virtual one
MIT License
61 stars 18 forks source link

incorrect mix-manifest.json entry for files with a dot in name #11

Closed tpetry closed 5 years ago

tpetry commented 5 years ago

Laravel-mix-versionhash will add the versionhash to the filename in the key of mix-manifest.json:

{
    "/js/iframeResizer.contentWindow.5321b25a.js": "/js/iframeResizer.contentWindow.5321b25a.js"
}
ctf0 commented 5 years ago

i havent tested this but for now u can try to change the delimiter option to something else other than . and try again.

tpetry commented 5 years ago

It seems to fix the issue but that is not really the intended solution.

ctf0 commented 5 years ago

yes i understand, i will try to fix it when i have time

omarkhatibco commented 5 years ago

Hello @ctf0

can you publish the fix please ?

ctf0 commented 5 years ago

@omarkhatibco sadly i hadn't found enough time to work on this or others yet, any help is appreciated though