{"action":"created","issue":{"url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/109","repository_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin","labels_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/109/comments","events_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/109/events","html_url":"https://github.com/ampedandwired/html-webpack-plugin/issues/109","id":114775279,"number":109,"title":"Sort of the chunks in HTML","user":{"login":"tamascsaba","id":3479963,"avatar_url":"https://avatars.githubusercontent.com/u/3479963?v=3","gravatar_id":"","url":"https://api.github.com/users/tamascsaba","html_url":"https://github.com/tamascsaba","followers_url":"https://api.github.com/users/tamascsaba/followers","following_url":"https://api.github.com/users/tamascsaba/following{/other_user}","gists_url":"https://api.github.com/users/tamascsaba/gists{/gist_id}","starred_url":"https://api.github.com/users/tamascsaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamascsaba/subscriptions","organizations_url":"https://api.github.com/users/tamascsaba/orgs","repos_url":"https://api.github.com/users/tamascsaba/repos","events_url":"https://api.github.com/users/tamascsaba/events{/privacy}","received_events_url":"https://api.github.com/users/tamascsaba/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-03T09:27:31Z","updated_at":"2016-02-05T07:30:34Z","closed_at":"2015-11-23T13:17:29Z","body":"I use this config:\r\n```\r\n    new HtmlWebpackPlugin({\r\n      title: HTML.title,\r\n      filename: HTML.filename,\r\n      chunks: ['common', 'vendors', 'app']\r\n    })\r\n```\r\n\r\nbut chunks in template render wrong:\r\n```\r\n    <script src=\"common.js\"></script>\r\n    <script src=\"app.js\"></script>\r\n    <script src=\"vendors.js\"></script>\r\n```\r\n\r\nMy webpack config looks like:\r\nhttps://github.com/AngularClass/angular2-webpack-starter/blob/master/webpack.config.js"},"comment":{"url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/comments/180234334","html_url":"https://github.com/ampedandwired/html-webpack-plugin/issues/109#issuecomment-180234334","issue_url":"https://api.github.com/repos/ampedandwired/html-webpack-plugin/issues/109","id":180234334,"user":{"login":"tamascsaba","id":3479963,"avatar_url":"https://avatars.githubusercontent.com/u/3479963?v=3","gravatar_id":"","url":"https://api.github.com/users/tamascsaba","html_url":"https://github.com/tamascsaba","followers_url":"https://api.github.com/users/tamascsaba/followers","following_url":"https://api.github.com/users/tamascsaba/following{/other_user}","gists_url":"https://api.github.com/users/tamascsaba/gists{/gist_id}","starred_url":"https://api.github.com/users/tamascsaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamascsaba/subscriptions","organizations_url":"https://api.github.com/users/tamascsaba/orgs","repos_url":"https://api.github.com/users/tamascsaba/repos","events_url":"https://api.github.com/users/tamascsaba/events{/privacy}","received_events_url":"https://api.github.com/users/tamascsaba/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T07:30:34Z","updated_at":"2016-02-05T07:30:34Z","body":"chunksSortMode: Allows to control how chunks should be sorted before they are included to the html. Allowed values: 'none' | 'auto' | 'dependency' | {function} - default: 'auto'"}}