{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/2359","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/2359/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/2359/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/2359/events","html_url":"https://github.com/webpack/webpack/issues/2359","id":149346479,"number":2359,"title":"Help me to require image in jade ","user":{"login":"baonguyenyam","id":3025550,"avatar_url":"https://avatars.githubusercontent.com/u/3025550?v=3","gravatar_id":"","url":"https://api.github.com/users/baonguyenyam","html_url":"https://github.com/baonguyenyam","followers_url":"https://api.github.com/users/baonguyenyam/followers","following_url":"https://api.github.com/users/baonguyenyam/following{/other_user}","gists_url":"https://api.github.com/users/baonguyenyam/gists{/gist_id}","starred_url":"https://api.github.com/users/baonguyenyam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baonguyenyam/subscriptions","organizations_url":"https://api.github.com/users/baonguyenyam/orgs","repos_url":"https://api.github.com/users/baonguyenyam/repos","events_url":"https://api.github.com/users/baonguyenyam/events{/privacy}","received_events_url":"https://api.github.com/users/baonguyenyam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/webpack/webpack/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-04-19T04:36:44Z","updated_at":"2016-08-07T01:13:28Z","closed_at":"2016-08-07T01:13:28Z","body":"Hi all! \r\n\r\nI using Webpack + Jade + Angular2 + Typescript . When i set the loaders\r\n`{ test: /\\.(png|jpe?g|gif|svg|ico)$/, loader: \"file-loader?name=images/[sha512:hash:base64:8]-[name].[ext]?[hash]\" }`\r\n\r\nfor img \r\n\r\nbackground-image: url('resources/ag.svg');\r\n\r\nand run build, image path in .scss file is changed ok, EX: \r\nbackground-image: url(http://localhost:8080/images/2eVc70I_-ag.svg?cde7ddf2af6be42d532cdbea94f8bf5c);\r\n\r\nbut in the .jade file i set img path as\r\nimg(src=\"/resources/img/abc.png\")\r\n\r\nand then i build, the image path not changed keep as \r\n\r\n`<img src=\"/resources/img/abc.png\">`\r\n\r\ni can not using this line in jade img(src=\"require('/resources/img/abc.png')\")\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/238057343","html_url":"https://github.com/webpack/webpack/issues/2359#issuecomment-238057343","issue_url":"https://api.github.com/repos/webpack/webpack/issues/2359","id":238057343,"user":{"login":"bebraw","id":166921,"avatar_url":"https://avatars.githubusercontent.com/u/166921?v=3","gravatar_id":"","url":"https://api.github.com/users/bebraw","html_url":"https://github.com/bebraw","followers_url":"https://api.github.com/users/bebraw/followers","following_url":"https://api.github.com/users/bebraw/following{/other_user}","gists_url":"https://api.github.com/users/bebraw/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraw/subscriptions","organizations_url":"https://api.github.com/users/bebraw/orgs","repos_url":"https://api.github.com/users/bebraw/repos","events_url":"https://api.github.com/users/bebraw/events{/privacy}","received_events_url":"https://api.github.com/users/bebraw/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T01:13:28Z","updated_at":"2016-08-07T01:13:28Z","body":"Can you reopen at Stack Overflow?"}}
{"actor":{"display_login":"bebraw"}}