{"action":"created","issue":{"url":"https://api.github.com/repos/ctf0/laravel-mix-versionhash/issues/10","repository_url":"https://api.github.com/repos/ctf0/laravel-mix-versionhash","labels_url":"https://api.github.com/repos/ctf0/laravel-mix-versionhash/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/ctf0/laravel-mix-versionhash/issues/10/comments","events_url":"https://api.github.com/repos/ctf0/laravel-mix-versionhash/issues/10/events","html_url":"https://github.com/ctf0/laravel-mix-versionhash/issues/10","id":383885899,"node_id":"MDU6SXNzdWUzODM4ODU4OTk=","number":10,"title":"mix.combine() does not get version hash","user":{"login":"wolfgang42","id":2261204,"node_id":"MDQ6VXNlcjIyNjEyMDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2261204?v=4","gravatar_id":"","url":"https://api.github.com/users/wolfgang42","html_url":"https://github.com/wolfgang42","followers_url":"https://api.github.com/users/wolfgang42/followers","following_url":"https://api.github.com/users/wolfgang42/following{/other_user}","gists_url":"https://api.github.com/users/wolfgang42/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfgang42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfgang42/subscriptions","organizations_url":"https://api.github.com/users/wolfgang42/orgs","repos_url":"https://api.github.com/users/wolfgang42/repos","events_url":"https://api.github.com/users/wolfgang42/events{/privacy}","received_events_url":"https://api.github.com/users/wolfgang42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-23T16:51:09Z","updated_at":"2018-11-23T20:39:48Z","closed_at":null,"author_association":"NONE","body":"I'm using mix.combine() to concatenate some assets together that don't require any other processing. The resulting file is given a version id by `mix.version()`, but `mix.versionHash()` doesn't put a hash in the filename the way it does with `.sass()` or `.js()`."},"comment":{"url":"https://api.github.com/repos/ctf0/laravel-mix-versionhash/issues/comments/441315096","html_url":"https://github.com/ctf0/laravel-mix-versionhash/issues/10#issuecomment-441315096","issue_url":"https://api.github.com/repos/ctf0/laravel-mix-versionhash/issues/10","id":441315096,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTMxNTA5Ng==","user":{"login":"wolfgang42","id":2261204,"node_id":"MDQ6VXNlcjIyNjEyMDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2261204?v=4","gravatar_id":"","url":"https://api.github.com/users/wolfgang42","html_url":"https://github.com/wolfgang42","followers_url":"https://api.github.com/users/wolfgang42/followers","following_url":"https://api.github.com/users/wolfgang42/following{/other_user}","gists_url":"https://api.github.com/users/wolfgang42/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfgang42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfgang42/subscriptions","organizations_url":"https://api.github.com/users/wolfgang42/orgs","repos_url":"https://api.github.com/users/wolfgang42/repos","events_url":"https://api.github.com/users/wolfgang42/events{/privacy}","received_events_url":"https://api.github.com/users/wolfgang42/received_events","type":"User","site_admin":false},"created_at":"2018-11-23T20:39:48Z","updated_at":"2018-11-23T20:39:48Z","author_association":"NONE","body":"Sure:\r\n\r\n```javascript\r\nlet mix = require('laravel-mix');\r\nrequire('laravel-mix-versionhash');\r\n\r\nmix.combine([\r\n\t'resources/assets/js/raven.js',\r\n\t'resources/assets/js/matomo.js',\r\n], 'public/assets/vendor.js');\r\n\r\nmix.versionHash();\r\n```\r\n\r\nThis just produces `public/assets/vendor.js`, with no hash. I expect it to be called `vendor.0ddba11.js` or so."}}
{"actor":{"display_login":"wolfgang42"}}