ctf0 / laravel-mix-versionhash

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

Support versioning Extra Files #16

Closed lidoma closed 5 months ago

lidoma commented 5 years ago

Hi The mix.versionHash() does not version extra files which passed as an array of paths.

mix.version(['public/js/random.js']);

https://laravel-mix.com/docs/4.0/versioning#versioning-extra-files

ctf0 commented 4 years ago

btw isnt the same as using .copy ?

Erutan409 commented 4 years ago

@ctf0 This would tie into #10 and how this plugin would solve for that problem.

ctf0 commented 4 years ago

@Erutan409 does https://github.com/ctf0/laravel-mix-versionhash/pull/24 tackle this one as well ?

Erutan409 commented 4 years ago

@ctf0 Not quite, just yet. So long as the latest changes are good with you, the new method can be abstracted further to be used for this, specifically.

So, keep this one open and I'll get this one knocked out fairly quick.