{"action":"opened","issue":{"url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/315","repository_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin","labels_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/315/comments","events_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/315/events","html_url":"https://github.com/ampedandwired/html-webpack-plugin/issues/315","id":152947783,"number":315,"title":"v2.16.1 - passing empty array to chunks option does not create html file","user":{"login":"eladlevy","id":4246412,"avatar_url":"https://avatars.githubusercontent.com/u/4246412?v=3","gravatar_id":"","url":"https://api.github.com/users/eladlevy","html_url":"https://github.com/eladlevy","followers_url":"https://api.github.com/users/eladlevy/followers","following_url":"https://api.github.com/users/eladlevy/following{/other_user}","gists_url":"https://api.github.com/users/eladlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/eladlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eladlevy/subscriptions","organizations_url":"https://api.github.com/users/eladlevy/orgs","repos_url":"https://api.github.com/users/eladlevy/repos","events_url":"https://api.github.com/users/eladlevy/events{/privacy}","received_events_url":"https://api.github.com/users/eladlevy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-04T07:41:42Z","updated_at":"2016-05-04T07:41:42Z","closed_at":null,"body":"In version 2.16.0 the following webpack configuration created the html file as expected:\r\n```\r\nnew HtmlWebpackPlugin({\r\n            filename: '/path/to/file/generated_page.html',\r\n            template: 'some_page.html',\r\n            chunks: [],\r\n            inject: false\r\n        }),\r\n```\r\n\r\nBut in 2.16.1 the html file was not generated. Only omitting chunks option resolved the issue:\r\n```\r\nnew HtmlWebpackPlugin({\r\n            filename: '/path/to/file/generated_page.html',\r\n            template: 'some_page.html',\r\n            inject: false\r\n        }),\r\n```\r\n\r\nI would expect that passing empty array will be equivalent to not passing chunks option like in older versions. Is that a right assumption? "}}