{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/6140","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/6140/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/6140/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/6140/events","html_url":"https://github.com/webpack/webpack/pull/6140","id":282525965,"number":6140,"title":"feat(defaults): default entry, output, mode","user":{"login":"TheLarkInn","id":3408176,"avatar_url":"https://avatars1.githubusercontent.com/u/3408176?v=4","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":572712741,"url":"https://api.github.com/repos/webpack/webpack/labels/PR:%20CI-ok","name":"PR: CI-ok","color":"0e8a16","default":false},{"id":689140390,"url":"https://api.github.com/repos/webpack/webpack/labels/PR:%20next","name":"PR: next","color":"fbca04","default":false},{"id":575748502,"url":"https://api.github.com/repos/webpack/webpack/labels/PR:%20small","name":"PR: small","color":"5319e7","default":false},{"id":572817354,"url":"https://api.github.com/repos/webpack/webpack/labels/PR:%20unreviewed","name":"PR: unreviewed","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"TheLarkInn","id":3408176,"avatar_url":"https://avatars1.githubusercontent.com/u/3408176?v=4","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},"assignees":[{"login":"TheLarkInn","id":3408176,"avatar_url":"https://avatars1.githubusercontent.com/u/3408176?v=4","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}],"milestone":null,"comments":17,"created_at":"2017-12-15T19:34:31Z","updated_at":"2017-12-18T21:32:17Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/webpack/webpack/pulls/6140","html_url":"https://github.com/webpack/webpack/pull/6140","diff_url":"https://github.com/webpack/webpack/pull/6140.diff","patch_url":"https://github.com/webpack/webpack/pull/6140.patch"},"body":"<!-- Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. -->\r\n\r\n**What kind of change does this PR introduce?**\r\nThis defaults the following properties to their following values:\r\n\r\n`entry`: \"./src\";\r\n`output` <== turns out this was defaulted but just removed the webpack-cli validations (separate branch)\r\n`mode`: \"production\" <== no reason why this shouldn't be the case\r\n\r\n<!-- E.g. a bugfix, feature, refactoring, build related change, etc… -->\r\n**Did you add tests for your changes?**\r\nNot sure if needed w/ changing defaults besides schema\r\n<!-- Note that we won't merge your changes if you don't add tests -->\r\n\r\n**If relevant, link to documentation update:**\r\nWill add if accepted.\r\n<!-- Link PR from webpack/webpack.js.org here, or N/A -->\r\n\r\n**Summary**\r\n#0CJS\r\n<!-- Explain the **motivation** for making this change. What existing problem does the pull request solve? -->\r\n<!-- Try to link to an open issue for more information. -->\r\n\r\n**Does this PR introduce a breaking change?**\r\n\r\n<!-- If this PR introduces a breaking change, please describe the impact and a migration path for existing applications. -->\r\n\r\n**Other information**\r\nThis PR depends on https://github.com/webpack/webpack-cli/pull/217/ merging so that the validation from the CLI doesn't fail runs of webpack. So likely I'll need to update this and add the peerDep "},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/352563963","html_url":"https://github.com/webpack/webpack/pull/6140#issuecomment-352563963","issue_url":"https://api.github.com/repos/webpack/webpack/issues/6140","id":352563963,"user":{"login":"sokra","id":1365881,"avatar_url":"https://avatars0.githubusercontent.com/u/1365881?v=4","gravatar_id":"","url":"https://api.github.com/users/sokra","html_url":"https://github.com/sokra","followers_url":"https://api.github.com/users/sokra/followers","following_url":"https://api.github.com/users/sokra/following{/other_user}","gists_url":"https://api.github.com/users/sokra/gists{/gist_id}","starred_url":"https://api.github.com/users/sokra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sokra/subscriptions","organizations_url":"https://api.github.com/users/sokra/orgs","repos_url":"https://api.github.com/users/sokra/repos","events_url":"https://api.github.com/users/sokra/events{/privacy}","received_events_url":"https://api.github.com/users/sokra/received_events","type":"User","site_admin":false},"created_at":"2017-12-18T21:32:16Z","updated_at":"2017-12-18T21:32:16Z","author_association":"OWNER","body":"I actually thought about making `mode` a required property via schema in webpack 5."}}
{"actor":{"display_login":"sokra"}}