Closed williamdes closed 3 years ago
Hi @srexi Let me know if you want a PR to add this ;)
@williamdes Sounds like a great idea, idk why I never thought about that myself :)
Yeah go ahead a do a PR will accept it ! @williamdes
Yeah go ahead a do a PR will accept it ! @williamdes
Thanks ;) I kept this one open on my browser. I had tried to implement it but for some reason in production mode the header is removed :/ Will have another try, if it does not affect source maps in a last chance I will just push some content and not use laravel-mix to add the header
Here it is 🚀 https://github.com/srexi/purecounterjs/pull/18
Adding a header will allow to source-check distributed files and know what version they are at For example: https://bootstrapmade.com/demo/templates/Squadfree/assets/vendor/purecounter/purecounter.js Demo: https://bootstrapmade.com/demo/templates/Squadfree/
In my case I did not use a fixed version, but you can easy replace my example
Here is bootstrap's header for an example