{"action":"created","issue":{"url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/1759","repository_url":"https://api.github.com/repos/JeffreyWay/laravel-mix","labels_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/1759/labels{/name}","comments_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/1759/comments","events_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/1759/events","html_url":"https://github.com/JeffreyWay/laravel-mix/issues/1759","id":356640891,"node_id":"MDU6SXNzdWUzNTY2NDA4OTE=","number":1759,"title":"mix-manifest.json in different directory","user":{"login":"Berian","id":721288,"node_id":"MDQ6VXNlcjcyMTI4OA==","avatar_url":"https://avatars3.githubusercontent.com/u/721288?v=4","gravatar_id":"","url":"https://api.github.com/users/Berian","html_url":"https://github.com/Berian","followers_url":"https://api.github.com/users/Berian/followers","following_url":"https://api.github.com/users/Berian/following{/other_user}","gists_url":"https://api.github.com/users/Berian/gists{/gist_id}","starred_url":"https://api.github.com/users/Berian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Berian/subscriptions","organizations_url":"https://api.github.com/users/Berian/orgs","repos_url":"https://api.github.com/users/Berian/repos","events_url":"https://api.github.com/users/Berian/events{/privacy}","received_events_url":"https://api.github.com/users/Berian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-04T03:29:53Z","updated_at":"2018-09-07T03:27:33Z","closed_at":null,"author_association":"NONE","body":"In webpack.mix.js after **mix** definition jus add this:\r\n`global.Mix.manifest.path = function() {\r\n    return path.join('new_direcotry', this.name);\r\n};`\r\nAnd now everything will work perfect!\r\n\r\nOnly keep in mind, that you need rewrite PHP helper function **mix**. To do this, just search in internet how to rewrite helper functions in laravel.\r\n\r\n;) "},"comment":{"url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/comments/419311055","html_url":"https://github.com/JeffreyWay/laravel-mix/issues/1759#issuecomment-419311055","issue_url":"https://api.github.com/repos/JeffreyWay/laravel-mix/issues/1759","id":419311055,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTMxMTA1NQ==","user":{"login":"ankurk91","id":6111524,"node_id":"MDQ6VXNlcjYxMTE1MjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/6111524?v=4","gravatar_id":"","url":"https://api.github.com/users/ankurk91","html_url":"https://github.com/ankurk91","followers_url":"https://api.github.com/users/ankurk91/followers","following_url":"https://api.github.com/users/ankurk91/following{/other_user}","gists_url":"https://api.github.com/users/ankurk91/gists{/gist_id}","starred_url":"https://api.github.com/users/ankurk91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankurk91/subscriptions","organizations_url":"https://api.github.com/users/ankurk91/orgs","repos_url":"https://api.github.com/users/ankurk91/repos","events_url":"https://api.github.com/users/ankurk91/events{/privacy}","received_events_url":"https://api.github.com/users/ankurk91/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T03:27:33Z","updated_at":"2018-09-07T03:27:33Z","author_association":"CONTRIBUTOR","body":"You no need to rewrite the mix helper\r\n```php\r\nfunction mix($path, $manifestDirectory = '')\r\n```\r\nIt accepts manifest folder as second argument already."}}
{"actor":{"display_login":"ankurk91"}}