{"action":"closed","issue":{"url":"https://api.github.com/repos/webpack/webpack.js.org/issues/435","repository_url":"https://api.github.com/repos/webpack/webpack.js.org","labels_url":"https://api.github.com/repos/webpack/webpack.js.org/issues/435/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack.js.org/issues/435/comments","events_url":"https://api.github.com/repos/webpack/webpack.js.org/issues/435/events","html_url":"https://github.com/webpack/webpack.js.org/issues/435","id":191775472,"number":435,"title":"Document new performance budgets feature","user":{"login":"TheLarkInn","id":3408176,"avatar_url":"https://avatars.githubusercontent.com/u/3408176?v=3","gravatar_id":"","url":"https://api.github.com/users/TheLarkInn","html_url":"https://github.com/TheLarkInn","followers_url":"https://api.github.com/users/TheLarkInn/followers","following_url":"https://api.github.com/users/TheLarkInn/following{/other_user}","gists_url":"https://api.github.com/users/TheLarkInn/gists{/gist_id}","starred_url":"https://api.github.com/users/TheLarkInn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheLarkInn/subscriptions","organizations_url":"https://api.github.com/users/TheLarkInn/orgs","repos_url":"https://api.github.com/users/TheLarkInn/repos","events_url":"https://api.github.com/users/TheLarkInn/events{/privacy}","received_events_url":"https://api.github.com/users/TheLarkInn/received_events","type":"User","site_admin":false},"labels":[{"id":413197346,"url":"https://api.github.com/repos/webpack/webpack.js.org/labels/Documentation:%20API","name":"Documentation: API","color":"e99695","default":false},{"id":397938253,"url":"https://api.github.com/repos/webpack/webpack.js.org/labels/Enhancement","name":"Enhancement","color":"84b6eb","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-25T23:38:54Z","updated_at":"2016-12-20T14:34:39Z","closed_at":"2016-12-20T14:34:39Z","body":"Now that most of the details are stamped out for https://github.com/webpack/webpack/pull/3350#pullrequestreview-9743611, we need to ensure that we are documenting the new configuration features, as well as specify what they represent. \r\n\r\nHere is the schema for the new information: \r\n\r\n```\r\n    \"performance\": {\r\n      \"description\": \"Configuration for web performance recommendations.\",\r\n      \"additionalProperties\": false,\r\n      \"properties\": {\r\n        \"hints\": {\r\n          \"description\": \"Turn hints on or off\",\r\n          \"type\": \"boolean\"\r\n        },\r\n        \"maxInitialChunkSize\": {\r\n          \"description\": \"Total size of all initial chunks (in bytes)\",\r\n          \"type\": \"number\"\r\n        },\r\n        \"maxAssetSize\": {\r\n          \"description\": \"Filesize limit (in bytes) when exceeded, that webpack will provide performance hints\",\r\n          \"type\": \"number\"\r\n        },\r\n        \"errorOnHint\": {\r\n          \"description\": \"Throw errors instead of warnings when performance hints are found\",\r\n          \"type\": \"boolean\"\r\n        }\r\n      },\r\n      \"type\": \"object\"\r\n    }\r\n```\r\n\r\nPerformance property: \r\nDefault recommendations about web practice and performance. \r\n\r\nReference https://github.com/webpack/webpack/issues/3216 for more details. \r\n"}}
{"actor":{"display_login":"TheLarkInn"}}