{"action":"closed","issue":{"url":"https://api.github.com/repos/babel-plugins/babel-plugin-object-assign/issues/5","labels_url":"https://api.github.com/repos/babel-plugins/babel-plugin-object-assign/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/babel-plugins/babel-plugin-object-assign/issues/5/comments","events_url":"https://api.github.com/repos/babel-plugins/babel-plugin-object-assign/issues/5/events","html_url":"https://github.com/babel-plugins/babel-plugin-object-assign/issues/5","id":93125720,"number":5,"title":"Plugin is not defined","user":{"login":"BerkeleyTrue","id":6775919,"avatar_url":"https://avatars.githubusercontent.com/u/6775919?v=3","gravatar_id":"","url":"https://api.github.com/users/BerkeleyTrue","html_url":"https://github.com/BerkeleyTrue","followers_url":"https://api.github.com/users/BerkeleyTrue/followers","following_url":"https://api.github.com/users/BerkeleyTrue/following{/other_user}","gists_url":"https://api.github.com/users/BerkeleyTrue/gists{/gist_id}","starred_url":"https://api.github.com/users/BerkeleyTrue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BerkeleyTrue/subscriptions","organizations_url":"https://api.github.com/users/BerkeleyTrue/orgs","repos_url":"https://api.github.com/users/BerkeleyTrue/repos","events_url":"https://api.github.com/users/BerkeleyTrue/events{/privacy}","received_events_url":"https://api.github.com/users/BerkeleyTrue/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-05T16:49:37Z","updated_at":"2015-07-05T16:54:46Z","closed_at":"2015-07-05T16:54:46Z","body":"Just tried running `npm install` on master for React-Router, which makes use of this project. It throws during build step using 1.2.0 of this package\r\n\r\n```\r\n/Users/berkeley/node/react/router/node_modules/babel-plugin-object-assign/lib/index.js:11\r\n  return new Plugin(\"object-assign\", {\r\n         ^\r\nTypeError: undefined is not a function\r\n    at exports.default (/Users/berkeley/node/react/router/node_modules/babel-plugin-object-assign/lib/index.js:11:10)\r\n    at Function.memoisePluginContainer (/Users/berkeley/node/react/router/node_modules/babel-core/lib/babel/transformation/file/plugin-manager.js:46:23)\r\n    at PluginManager.add (/Users/berkeley/node/react/router/node_modules/babel-core/lib/babel/transformation/file/plugin-manager.js:131:30)\r\n    at File.buildTransformers (/Users/berkeley/node/react/router/node_modules/babel-core/lib/babel/transformation/file/index.js:290:21)\r\n    at new File (/Users/berkeley/node/react/router/node_modules/babel-core/lib/babel/transformation/file/index.js:148:10)\r\n    at TransformerPipeline.transform (/Users/berkeley/node/react/router/node_modules/babel-core/lib/babel/transformation/transformer-pipeline.js:96:16)\r\n    at Object.exports.transform (/Users/berkeley/node/react/router/node_modules/babel/bin/babel/util.js:33:22)\r\n    at Object.exports.compile (/Users/berkeley/node/react/router/node_modules/babel/bin/babel/util.js:41:18)\r\n    at write (/Users/berkeley/node/react/router/node_modules/babel/bin/babel/dir.js:16:21)\r\n    at handleFile (/Users/berkeley/node/react/router/node_modules/babel/bin/babel/dir.js:37:7)\r\n```"}}