{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/2693","labels_url":"https://api.github.com/repos/babel/babel/issues/2693/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/2693/comments","events_url":"https://api.github.com/repos/babel/babel/issues/2693/events","html_url":"https://github.com/babel/babel/issues/2693","id":114367156,"number":2693,"title":"`modules` option causes error","user":{"login":"justinfagnani","id":522948,"avatar_url":"https://avatars.githubusercontent.com/u/522948?v=3","gravatar_id":"","url":"https://api.github.com/users/justinfagnani","html_url":"https://github.com/justinfagnani","followers_url":"https://api.github.com/users/justinfagnani/followers","following_url":"https://api.github.com/users/justinfagnani/following{/other_user}","gists_url":"https://api.github.com/users/justinfagnani/gists{/gist_id}","starred_url":"https://api.github.com/users/justinfagnani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinfagnani/subscriptions","organizations_url":"https://api.github.com/users/justinfagnani/orgs","repos_url":"https://api.github.com/users/justinfagnani/repos","events_url":"https://api.github.com/users/justinfagnani/events{/privacy}","received_events_url":"https://api.github.com/users/justinfagnani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-30T22:32:59Z","updated_at":"2015-10-30T22:37:14Z","closed_at":null,"body":"When I try to use `modules` (via gulp-babel) I get this error:\r\n\r\n```\r\nReferenceError: [BABEL] /my/project/project.js: Unknown option: base.modules\r\n    at Logger.error (/my/project/node_modules/babel-core/lib/transformation/file/logger.js:43:11)\r\n    at OptionManager.mergeOptions (/my/project/node_modules/babel-core/lib/transformation/file/options/option-manager.js:244:18)\r\n    at OptionManager.init (/my/project/node_modules/babel-core/lib/transformation/file/options/option-manager.js:395:10)\r\n    at File.initOptions (/my/project/node_modules/babel-core/lib/transformation/file/index.js:191:75)\r\n    at new File (/my/project/node_modules/babel-core/lib/transformation/file/index.js:122:22)\r\n    at Pipeline.transform (/my/project/node_modules/babel-core/lib/transformation/pipeline.js:42:16)\r\n    at DestroyableTransform._transform (/my/project/node_modules/gulp-babel/index.js:30:20)\r\n    at DestroyableTransform.Transform._read (/my/project/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:10)\r\n    at DestroyableTransform.Transform._write (/my/project/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:160:12)\r\n    at doWrite (/my/project/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:333:12)\r\n```"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/152667085","html_url":"https://github.com/babel/babel/issues/2693#issuecomment-152667085","issue_url":"https://api.github.com/repos/babel/babel/issues/2693","id":152667085,"user":{"login":"loganfsmyth","id":132260,"avatar_url":"https://avatars.githubusercontent.com/u/132260?v=3","gravatar_id":"","url":"https://api.github.com/users/loganfsmyth","html_url":"https://github.com/loganfsmyth","followers_url":"https://api.github.com/users/loganfsmyth/followers","following_url":"https://api.github.com/users/loganfsmyth/following{/other_user}","gists_url":"https://api.github.com/users/loganfsmyth/gists{/gist_id}","starred_url":"https://api.github.com/users/loganfsmyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganfsmyth/subscriptions","organizations_url":"https://api.github.com/users/loganfsmyth/orgs","repos_url":"https://api.github.com/users/loganfsmyth/repos","events_url":"https://api.github.com/users/loganfsmyth/events{/privacy}","received_events_url":"https://api.github.com/users/loganfsmyth/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T22:37:14Z","updated_at":"2015-10-30T22:37:14Z","body":"Also, please see our README:\r\n\r\n> For questions and support please visit the <a href=\"https://babel-slack.herokuapp.com\">Slack community</a> or <a href=\"http://stackoverflow.com/questions/tagged/babeljs\">StackOverflow</a>."}}