{"action":"opened","issue":{"url":"https://api.github.com/repos/babel/babel/issues/9123","repository_url":"https://api.github.com/repos/babel/babel","labels_url":"https://api.github.com/repos/babel/babel/issues/9123/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/9123/comments","events_url":"https://api.github.com/repos/babel/babel/issues/9123/events","html_url":"https://github.com/babel/babel/issues/9123","id":387158526,"node_id":"MDU6SXNzdWUzODcxNTg1MjY=","number":9123,"title":"Decorators are not enabled with `@babel/plugin-proposal-class-properties` and `@babel/plugin-proposal-decorators`","user":{"login":"HsuTing","id":8859179,"node_id":"MDQ6VXNlcjg4NTkxNzk=","avatar_url":"https://avatars3.githubusercontent.com/u/8859179?v=4","gravatar_id":"","url":"https://api.github.com/users/HsuTing","html_url":"https://github.com/HsuTing","followers_url":"https://api.github.com/users/HsuTing/followers","following_url":"https://api.github.com/users/HsuTing/following{/other_user}","gists_url":"https://api.github.com/users/HsuTing/gists{/gist_id}","starred_url":"https://api.github.com/users/HsuTing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HsuTing/subscriptions","organizations_url":"https://api.github.com/users/HsuTing/orgs","repos_url":"https://api.github.com/users/HsuTing/repos","events_url":"https://api.github.com/users/HsuTing/events{/privacy}","received_events_url":"https://api.github.com/users/HsuTing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-04T07:46:02Z","updated_at":"2018-12-04T07:46:02Z","closed_at":null,"author_association":"NONE","body":"## Bug Report\r\n\r\n**Current Behavior**\r\nCan not compile\r\n\r\n**Input Code**\r\n- [repo](https://github.com/HsuTing/babel-bug-example)\r\n\r\n**Expected behavior/code**\r\nThis work before upgrading `7.2.0.\r\n\r\n**Babel Configuration (.babelrc, package.json, cli command)**\r\n\r\n```js\r\nmodule.exports = { \r\n  presets: [\r\n    [   \r\n      '@babel/preset-env',\r\n      {   \r\n        useBuiltIns: 'usage',\r\n      },  \r\n    ],  \r\n  ],  \r\n  plugins: [\r\n    '@babel/plugin-proposal-class-properties',\r\n    [   \r\n      '@babel/plugin-proposal-decorators',\r\n      {   \r\n        legacy: true,\r\n      },  \r\n    ],  \r\n  ],  \r\n};\r\n```\r\n\r\n**Environment**\r\n- Babel version(s): v7.2.0\r\n- Node/npm version: node 11.3.0/npm 6.4.1\r\n- OS: OSX 10.14.1\r\n- Monorepo: no\r\n- How you are using Babel: cli\r\n\r\n**Possible Solution**\r\n<!--- Only if you have suggestions on a fix for the bug -->\r\n\r\n**Additional context/Screenshots**\r\nAdd any other context about the problem here. If applicable, add screenshots to help explain.\r\n"}}
{"actor":{"display_login":"HsuTing"}}