{"action":"opened","issue":{"url":"https://api.github.com/repos/markfinger/webpack-wrapper/issues/2","labels_url":"https://api.github.com/repos/markfinger/webpack-wrapper/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/markfinger/webpack-wrapper/issues/2/comments","events_url":"https://api.github.com/repos/markfinger/webpack-wrapper/issues/2/events","html_url":"https://github.com/markfinger/webpack-wrapper/issues/2","id":83838016,"number":2,"title":"Should accept a publicPath option","user":{"login":"markfinger","id":175974,"avatar_url":"https://avatars.githubusercontent.com/u/175974?v=3","gravatar_id":"","url":"https://api.github.com/users/markfinger","html_url":"https://github.com/markfinger","followers_url":"https://api.github.com/users/markfinger/followers","following_url":"https://api.github.com/users/markfinger/following{/other_user}","gists_url":"https://api.github.com/users/markfinger/gists{/gist_id}","starred_url":"https://api.github.com/users/markfinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markfinger/subscriptions","organizations_url":"https://api.github.com/users/markfinger/orgs","repos_url":"https://api.github.com/users/markfinger/repos","events_url":"https://api.github.com/users/markfinger/events{/privacy}","received_events_url":"https://api.github.com/users/markfinger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-02T04:48:39Z","updated_at":"2015-06-02T04:48:39Z","closed_at":null,"body":"rather than relying on `staticUrl`\r\n\r\nthe following worked as a quick hack for python-webpack\r\n\r\n```javascript\r\nconfig.output.publicPath = opts.staticUrl + opts.outputPath.slice(opts.staticRoot.length + 1) + '/';\r\nconsole.log('publicPath', config.output.publicPath)\r\n```"}}