{"action":"created","issue":{"url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/580","repository_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit","labels_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/580/labels{/name}","comments_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/580/comments","events_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/580/events","html_url":"https://github.com/davezuko/react-redux-starter-kit/issues/580","id":135183479,"number":580,"title":"Different asset path in development and production ","user":{"login":"madshargreave","id":5479890,"avatar_url":"https://avatars.githubusercontent.com/u/5479890?v=3","gravatar_id":"","url":"https://api.github.com/users/madshargreave","html_url":"https://github.com/madshargreave","followers_url":"https://api.github.com/users/madshargreave/followers","following_url":"https://api.github.com/users/madshargreave/following{/other_user}","gists_url":"https://api.github.com/users/madshargreave/gists{/gist_id}","starred_url":"https://api.github.com/users/madshargreave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madshargreave/subscriptions","organizations_url":"https://api.github.com/users/madshargreave/orgs","repos_url":"https://api.github.com/users/madshargreave/repos","events_url":"https://api.github.com/users/madshargreave/events{/privacy}","received_events_url":"https://api.github.com/users/madshargreave/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-21T09:42:59Z","updated_at":"2016-02-21T19:49:24Z","closed_at":null,"body":"Hi\r\n\r\nInside my `src/static` folder I have an `sounds` folder which I store mp3 files in to invoke from my Javascript as\r\n\r\n```\r\nimport notificationSound from 'static/sounds/sound1.mp3'\r\n```\r\n\r\nThis correctly gets bundled into my dist folder, but in production, the code still looks for \r\n\r\n```\r\nstatic/sounds/sound1.mp3\r\n```\r\neven though it is located at `/sounds/sound1.mp3 (served from root)`, which fails\r\n\r\nAny suggestions?"},"comment":{"url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/comments/186897177","html_url":"https://github.com/davezuko/react-redux-starter-kit/issues/580#issuecomment-186897177","issue_url":"https://api.github.com/repos/davezuko/react-redux-starter-kit/issues/580","id":186897177,"user":{"login":"madshargreave","id":5479890,"avatar_url":"https://avatars.githubusercontent.com/u/5479890?v=3","gravatar_id":"","url":"https://api.github.com/users/madshargreave","html_url":"https://github.com/madshargreave","followers_url":"https://api.github.com/users/madshargreave/followers","following_url":"https://api.github.com/users/madshargreave/following{/other_user}","gists_url":"https://api.github.com/users/madshargreave/gists{/gist_id}","starred_url":"https://api.github.com/users/madshargreave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madshargreave/subscriptions","organizations_url":"https://api.github.com/users/madshargreave/orgs","repos_url":"https://api.github.com/users/madshargreave/repos","events_url":"https://api.github.com/users/madshargreave/events{/privacy}","received_events_url":"https://api.github.com/users/madshargreave/received_events","type":"User","site_admin":false},"created_at":"2016-02-21T19:49:24Z","updated_at":"2016-02-21T19:49:24Z","body":"I tried creating an assets folder and importing the sounds from there, but this results in the whole folder path being copied to the dist folder\r\n\r\n```\r\ndist/\r\n  -- src\r\n    -- assets\r\n       -- sounds \r\n            sounds1.mp3\r\n```"}}