{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/3017","repository_url":"https://api.github.com/repos/webpack/webpack","labels_url":"https://api.github.com/repos/webpack/webpack/issues/3017/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/3017/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/3017/events","html_url":"https://github.com/webpack/webpack/issues/3017","id":177860377,"node_id":"MDU6SXNzdWUxNzc4NjAzNzc=","number":3017,"title":"Remove support for AMD by default in Webpack 2","user":{"login":"andreypopp","id":30594,"node_id":"MDQ6VXNlcjMwNTk0","avatar_url":"https://avatars0.githubusercontent.com/u/30594?v=4","gravatar_id":"","url":"https://api.github.com/users/andreypopp","html_url":"https://github.com/andreypopp","followers_url":"https://api.github.com/users/andreypopp/followers","following_url":"https://api.github.com/users/andreypopp/following{/other_user}","gists_url":"https://api.github.com/users/andreypopp/gists{/gist_id}","starred_url":"https://api.github.com/users/andreypopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreypopp/subscriptions","organizations_url":"https://api.github.com/users/andreypopp/orgs","repos_url":"https://api.github.com/users/andreypopp/repos","events_url":"https://api.github.com/users/andreypopp/events{/privacy}","received_events_url":"https://api.github.com/users/andreypopp/received_events","type":"User","site_admin":false},"labels":[{"id":428473033,"node_id":"MDU6TGFiZWw0Mjg0NzMwMzM=","url":"https://api.github.com/repos/webpack/webpack/labels/P3:%20Important","name":"P3: Important","color":"f9d0c4","default":false},{"id":412821164,"node_id":"MDU6TGFiZWw0MTI4MjExNjQ=","url":"https://api.github.com/repos/webpack/webpack/labels/RFC/Proposal","name":"RFC/Proposal","color":"f9d0c4","default":false},{"id":428472624,"node_id":"MDU6TGFiZWw0Mjg0NzI2MjQ=","url":"https://api.github.com/repos/webpack/webpack/labels/S2:%20Inconvenient","name":"S2: Inconvenient","color":"0052cc","default":false},{"id":433080621,"node_id":"MDU6TGFiZWw0MzMwODA2MjE=","url":"https://api.github.com/repos/webpack/webpack/labels/X3:%20discussion%20required","name":"X3: discussion required","color":"fbca04","default":false},{"id":1089822,"node_id":"MDU6TGFiZWwxMDg5ODIy","url":"https://api.github.com/repos/webpack/webpack/labels/enhancement","name":"enhancement","color":"DDDDDD","default":true},{"id":90419071,"node_id":"MDU6TGFiZWw5MDQxOTA3MQ==","url":"https://api.github.com/repos/webpack/webpack/labels/webpack-2","name":"webpack-2","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2016-09-19T18:28:18Z","updated_at":"2018-06-21T18:19:15Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**I'm submitting a feature request**\n\n**Webpack version:**\n2.x\n\n**Current behavior:**\nWebpack produces code which throws an error when it encounters `define` identifier in source code.\n\n**Expected/desired behavior:**\nWebpack doesn't treat `define` identifier in any custom way and make no assumptions about it unless it is configured with `AMDModulePlugin` (or something like that).\n\n**What is the motivation / use case for changing the behavior?**\nAMD isn't used widely anymore, most of the code is distributed through npm and is in the format of CommonJS modules. Therefore it does make sense to make AMD support opt-in rather than having it enabled by default.\n"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/399197415","html_url":"https://github.com/webpack/webpack/issues/3017#issuecomment-399197415","issue_url":"https://api.github.com/repos/webpack/webpack/issues/3017","id":399197415,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTE5NzQxNQ==","user":{"login":"FranzSkuffka","id":7485959,"node_id":"MDQ6VXNlcjc0ODU5NTk=","avatar_url":"https://avatars3.githubusercontent.com/u/7485959?v=4","gravatar_id":"","url":"https://api.github.com/users/FranzSkuffka","html_url":"https://github.com/FranzSkuffka","followers_url":"https://api.github.com/users/FranzSkuffka/followers","following_url":"https://api.github.com/users/FranzSkuffka/following{/other_user}","gists_url":"https://api.github.com/users/FranzSkuffka/gists{/gist_id}","starred_url":"https://api.github.com/users/FranzSkuffka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FranzSkuffka/subscriptions","organizations_url":"https://api.github.com/users/FranzSkuffka/orgs","repos_url":"https://api.github.com/users/FranzSkuffka/repos","events_url":"https://api.github.com/users/FranzSkuffka/events{/privacy}","received_events_url":"https://api.github.com/users/FranzSkuffka/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T18:19:15Z","updated_at":"2018-06-21T18:19:15Z","author_association":"NONE","body":"@rafde - converting `require` to `import` should be as simple as doing find-and-replace operations."}}
{"actor":{"display_login":"FranzSkuffka"}}