{"action":"created","issue":{"url":"https://api.github.com/repos/SharePoint/sp-dev-fx-webparts/issues/309","repository_url":"https://api.github.com/repos/SharePoint/sp-dev-fx-webparts","labels_url":"https://api.github.com/repos/SharePoint/sp-dev-fx-webparts/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/SharePoint/sp-dev-fx-webparts/issues/309/comments","events_url":"https://api.github.com/repos/SharePoint/sp-dev-fx-webparts/issues/309/events","html_url":"https://github.com/SharePoint/sp-dev-fx-webparts/issues/309","id":257821130,"number":309,"title":"Asset naming for deployment (js/png/gif/jpg/etc)","user":{"login":"NoralK","id":13447087,"avatar_url":"https://avatars0.githubusercontent.com/u/13447087?v=4","gravatar_id":"","url":"https://api.github.com/users/NoralK","html_url":"https://github.com/NoralK","followers_url":"https://api.github.com/users/NoralK/followers","following_url":"https://api.github.com/users/NoralK/following{/other_user}","gists_url":"https://api.github.com/users/NoralK/gists{/gist_id}","starred_url":"https://api.github.com/users/NoralK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoralK/subscriptions","organizations_url":"https://api.github.com/users/NoralK/orgs","repos_url":"https://api.github.com/users/NoralK/repos","events_url":"https://api.github.com/users/NoralK/events{/privacy}","received_events_url":"https://api.github.com/users/NoralK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-14T18:54:28Z","updated_at":"2017-09-28T17:40:37Z","closed_at":null,"author_association":"NONE","body":"#### Category\r\n- [X] Question\r\n- [ ] Bug\r\n- [ ] Enhancement\r\n\r\n#### Expected or Desired Behavior\r\nIs there the ability to have statically named assets or the ability to rename the assets in the configuration files during the build process?  Right now I am performing this task manually after I bundle the shipment but before I package-solution.\r\n\r\n#### Observed Behavior\r\nAssets are being renamed to unwanted long names.\r\n\r\n#### Steps to Reproduce\r\nCreate new project\r\nGulp build -ship\r\nGulp bundle -ship\r\n\r\nLook at files in \\temp\\deploy\r\nThe js, images and, I assume other assets, if added, are being renamed.  Here are example file names:\r\n\r\n**Current files**\r\n2ea3efb6-59b1-499f-94c2-9af2eabe36e2.manifest.json\r\nlogo_e5e94bb4b4e8155255b2b654568170dd.png\r\nmy-on-prem-web-part.bundle_e8a71d1a85c8f03b74e2193824de14bb.js\r\nmywebpart1-myonpremwebpartstrings_en-us_536e65149b0acf4d52c0043073b9fc59.js\r\n\r\n**Desired named files**\r\nmy-on-prem-web-part.manifest.json\r\nlogo.png\r\nmy-on-prem-web-part.bundle.js\r\nmywebpart1-myonpremwebpartstrings_en-us.js\r\n\r\nWhen deploying I am putting each version of the WebPart in a separate sub-directory, in our CDN, for each version so I will not have duplicate files being clobbered.\r\n\r\nTIA\r\nNoral\r\n"},"comment":{"url":"https://api.github.com/repos/SharePoint/sp-dev-fx-webparts/issues/comments/332910625","html_url":"https://github.com/SharePoint/sp-dev-fx-webparts/issues/309#issuecomment-332910625","issue_url":"https://api.github.com/repos/SharePoint/sp-dev-fx-webparts/issues/309","id":332910625,"user":{"login":"waldekmastykarz","id":11164679,"avatar_url":"https://avatars2.githubusercontent.com/u/11164679?v=4","gravatar_id":"","url":"https://api.github.com/users/waldekmastykarz","html_url":"https://github.com/waldekmastykarz","followers_url":"https://api.github.com/users/waldekmastykarz/followers","following_url":"https://api.github.com/users/waldekmastykarz/following{/other_user}","gists_url":"https://api.github.com/users/waldekmastykarz/gists{/gist_id}","starred_url":"https://api.github.com/users/waldekmastykarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waldekmastykarz/subscriptions","organizations_url":"https://api.github.com/users/waldekmastykarz/orgs","repos_url":"https://api.github.com/users/waldekmastykarz/repos","events_url":"https://api.github.com/users/waldekmastykarz/events{/privacy}","received_events_url":"https://api.github.com/users/waldekmastykarz/received_events","type":"User","site_admin":false},"created_at":"2017-09-28T17:40:37Z","updated_at":"2017-09-28T17:40:37Z","author_association":"COLLABORATOR","body":"I don't think there is currently a robust way to do that."}}
{"actor":{"display_login":"waldekmastykarz"}}