{"action":"created","issue":{"url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/346","repository_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin","labels_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/346/comments","events_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/346/events","html_url":"https://github.com/ampedandwired/html-webpack-plugin/issues/346","id":159555538,"number":346,"title":"TypeError: Cannot use 'in' operator to search for 'html5' in true","user":{"login":"craigcosmo","id":538657,"avatar_url":"https://avatars.githubusercontent.com/u/538657?v=3","gravatar_id":"","url":"https://api.github.com/users/craigcosmo","html_url":"https://github.com/craigcosmo","followers_url":"https://api.github.com/users/craigcosmo/followers","following_url":"https://api.github.com/users/craigcosmo/following{/other_user}","gists_url":"https://api.github.com/users/craigcosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/craigcosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigcosmo/subscriptions","organizations_url":"https://api.github.com/users/craigcosmo/orgs","repos_url":"https://api.github.com/users/craigcosmo/repos","events_url":"https://api.github.com/users/craigcosmo/events{/privacy}","received_events_url":"https://api.github.com/users/craigcosmo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-10T04:12:02Z","updated_at":"2016-06-12T11:35:04Z","closed_at":null,"body":"I got this error when trying to minify a simple html file\r\n\r\nhere is what the file look like\r\n\r\n```html\r\n<!DOCTYPE html>\r\n<html>\r\n<head>\r\n\t<title>site</title>\r\n\t<meta charset='utf-8'>\r\n\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\">\r\n</head>\r\n<body>\r\n<div id=\"app\"></div>\r\n</body>\r\n</html>\r\n```\r\n\r\nhere is my config\r\n\r\n```js\r\nnew HtmlWebpackPlugin({\r\n\t\t\ttemplate: __dirname + '/app/template.html',\r\n\t\t\tfilename: 'html/index.html',\r\n\t\t\tinject: 'body',\r\n\t\t\thash: true,\r\n\t\t\tminify:true \r\n\t\t})\r\n```\r\n\r\nif I remove the minify option, the process works fine. So there must be something wrong with minify option."},"comment":{"url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/comments/225427778","html_url":"https://github.com/ampedandwired/html-webpack-plugin/issues/346#issuecomment-225427778","issue_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/346","id":225427778,"user":{"login":"jantimon","id":4113649,"avatar_url":"https://avatars.githubusercontent.com/u/4113649?v=3","gravatar_id":"","url":"https://api.github.com/users/jantimon","html_url":"https://github.com/jantimon","followers_url":"https://api.github.com/users/jantimon/followers","following_url":"https://api.github.com/users/jantimon/following{/other_user}","gists_url":"https://api.github.com/users/jantimon/gists{/gist_id}","starred_url":"https://api.github.com/users/jantimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jantimon/subscriptions","organizations_url":"https://api.github.com/users/jantimon/orgs","repos_url":"https://api.github.com/users/jantimon/repos","events_url":"https://api.github.com/users/jantimon/events{/privacy}","received_events_url":"https://api.github.com/users/jantimon/received_events","type":"User","site_admin":false},"created_at":"2016-06-12T11:35:04Z","updated_at":"2016-06-12T11:35:04Z","body":"dont pass the minifier but its options\r\n\r\n```js\r\nnew HtmlWebpackPlugin({\r\n       template: __dirname + '/app/template.html',\r\n       filename: 'html/index.html',\r\n       inject: 'body',\r\n       hash: true,\r\n       minify: \r\n         {\r\n           removeAttributeQuotes: true\r\n         }\r\n    })\r\n```"}}
{"actor":{"display_login":"jantimon"}}