{"action":"created","issue":{"url":"https://api.github.com/repos/postcss/postcss-loader/issues/99","repository_url":"https://api.github.com/repos/postcss/postcss-loader","labels_url":"https://api.github.com/repos/postcss/postcss-loader/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/postcss/postcss-loader/issues/99/comments","events_url":"https://api.github.com/repos/postcss/postcss-loader/issues/99/events","html_url":"https://github.com/postcss/postcss-loader/issues/99","id":177927188,"number":99,"title":"Incompatible with Webpack 2.1.0-beta.23 configuration validation","user":{"login":"kylecesmat","id":1633837,"avatar_url":"https://avatars.githubusercontent.com/u/1633837?v=3","gravatar_id":"","url":"https://api.github.com/users/kylecesmat","html_url":"https://github.com/kylecesmat","followers_url":"https://api.github.com/users/kylecesmat/followers","following_url":"https://api.github.com/users/kylecesmat/following{/other_user}","gists_url":"https://api.github.com/users/kylecesmat/gists{/gist_id}","starred_url":"https://api.github.com/users/kylecesmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylecesmat/subscriptions","organizations_url":"https://api.github.com/users/kylecesmat/orgs","repos_url":"https://api.github.com/users/kylecesmat/repos","events_url":"https://api.github.com/users/kylecesmat/events{/privacy}","received_events_url":"https://api.github.com/users/kylecesmat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/postcss/postcss-loader/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2016-09-19T23:45:58Z","updated_at":"2016-10-12T19:37:42Z","closed_at":null,"body":"The latest webpack beta now validates the configuration object, which breaks this usage as the `postcss` key in the configuration is not part of the validated schema. See release notes here: https://github.com/webpack/webpack/releases/tag/v2.1.0-beta.23\r\n\r\n```\r\nmodule.exports = {\r\n    module: {\r\n        loaders: []\r\n    },\r\n    postcss: function () {}\r\n}\r\n```\r\n\r\nThe entire output is:\r\n```\r\nWebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.\r\n - configuration has an unknown property 'postcss'. These properties are valid:\r\n   object { amd?, bail?, cache?, context?, devServer?, devtool?, entry, externals?, loader?, module?, name?, dependencies?, node?, output?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, stats?, target?, watch?, watchOptions? }\r\n```\r\n\r\nI understand this is for a webpack 2 beta, and probably should wait until the features stabilize. Who knows if this configuration validation will land in the final version...\r\n\r\nFor now I've locked webpack@2.1.0-beta.21"},"comment":{"url":"https://api.github.com/repos/postcss/postcss-loader/issues/comments/253315819","html_url":"https://github.com/postcss/postcss-loader/issues/99#issuecomment-253315819","issue_url":"https://api.github.com/repos/postcss/postcss-loader/issues/99","id":253315819,"user":{"login":"ai","id":19343,"avatar_url":"https://avatars.githubusercontent.com/u/19343?v=3","gravatar_id":"","url":"https://api.github.com/users/ai","html_url":"https://github.com/ai","followers_url":"https://api.github.com/users/ai/followers","following_url":"https://api.github.com/users/ai/following{/other_user}","gists_url":"https://api.github.com/users/ai/gists{/gist_id}","starred_url":"https://api.github.com/users/ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ai/subscriptions","organizations_url":"https://api.github.com/users/ai/orgs","repos_url":"https://api.github.com/users/ai/repos","events_url":"https://api.github.com/users/ai/events{/privacy}","received_events_url":"https://api.github.com/users/ai/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T19:37:42Z","updated_at":"2016-10-12T19:37:42Z","body":"Guys! Thanks for you tests.\r\n\r\nNow we fixed most of them. Could you test `postcss-loader` from GitHub again?"}}
{"actor":{"display_login":"ai"}}