{"action":"closed","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/1336","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/1336/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/1336/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/1336/events","html_url":"https://github.com/webpack/webpack/issues/1336","id":99798279,"number":1336,"title":"Not able to bundle favicon.ico into build folder","user":{"login":"Dindaleon","id":7036726,"avatar_url":"https://avatars.githubusercontent.com/u/7036726?v=3","gravatar_id":"","url":"https://api.github.com/users/Dindaleon","html_url":"https://github.com/Dindaleon","followers_url":"https://api.github.com/users/Dindaleon/followers","following_url":"https://api.github.com/users/Dindaleon/following{/other_user}","gists_url":"https://api.github.com/users/Dindaleon/gists{/gist_id}","starred_url":"https://api.github.com/users/Dindaleon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dindaleon/subscriptions","organizations_url":"https://api.github.com/users/Dindaleon/orgs","repos_url":"https://api.github.com/users/Dindaleon/repos","events_url":"https://api.github.com/users/Dindaleon/events{/privacy}","received_events_url":"https://api.github.com/users/Dindaleon/received_events","type":"User","site_admin":false},"labels":[{"id":1089820,"url":"https://api.github.com/repos/webpack/webpack/labels/bug","name":"bug","color":"fbca04","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-08-08T12:23:50Z","updated_at":"2016-12-27T10:56:11Z","closed_at":"2016-12-27T10:56:11Z","body":"Hello,\n\nMy file structure is as follows:\n\n```\nbuild\ndev\n-app.js\n-public\n--favicon.ico\nwebpack.config.js\n```\n\nAnd my webpack config file has the following loader:\n\n```\n  {\n    test: /\\.ico$/,\n    loader: \"url-loader\",\n    query: { mimetype: \"image/x-icon\" }\n  }\n```\n\nAnd my app.js has a require to that ico file:\n\n```\n  var icoFile = require(\"./public/favicon.ico\");\n```\n\nHowever, after the project is built, there is no favicon.ico file in my public folder. So, how can I tell webpack to include my favicon.ico file inside my build folder?\n"}}
{"actor":{"display_login":"SpaceK33z"}}