{"action":"opened","issue":{"url":"https://api.github.com/repos/babel/babel/issues/1098","labels_url":"https://api.github.com/repos/babel/babel/issues/1098/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/1098/comments","events_url":"https://api.github.com/repos/babel/babel/issues/1098/events","html_url":"https://github.com/babel/babel/issues/1098","id":64817551,"number":1098,"title":"Grunt Output","user":{"login":"Jamtis","id":3067604,"avatar_url":"https://avatars.githubusercontent.com/u/3067604?v=3","gravatar_id":"","url":"https://api.github.com/users/Jamtis","html_url":"https://github.com/Jamtis","followers_url":"https://api.github.com/users/Jamtis/followers","following_url":"https://api.github.com/users/Jamtis/following{/other_user}","gists_url":"https://api.github.com/users/Jamtis/gists{/gist_id}","starred_url":"https://api.github.com/users/Jamtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jamtis/subscriptions","organizations_url":"https://api.github.com/users/Jamtis/orgs","repos_url":"https://api.github.com/users/Jamtis/repos","events_url":"https://api.github.com/users/Jamtis/events{/privacy}","received_events_url":"https://api.github.com/users/Jamtis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-27T17:54:33Z","updated_at":"2015-03-27T17:54:33Z","closed_at":null,"body":"Hi folks,\r\n\r\n**grunt-babel** (v4.0.0) gives me a different output than **babel** (v4.7.16).\r\n\r\nThe script\r\n```\r\nimport foo from \"foo\";\r\nimport foo2 from \"foo2\";\r\nconsole.log(foo);\r\nconsole.log(foo2);\r\n```\r\ntranspiles to\r\n```\r\ndefine([\"exports\", \"foo\", \"foo2\"], function (exports, _foo, _foo2) {\r\n  \"use strict\";\r\n\r\n  var _interopRequire = function (obj) { return obj && obj.__esModule ? obj[\"default\"] : obj; };\r\n\r\n  var foo = _interopRequire(_foo);\r\n\r\n  var foo2 = _interopRequire(_foo2);\r\n\r\n  console.log(foo);\r\n  console.log(foo2);\r\n});\r\n```\r\nwith `babel -m amd -e` which is suitable, but to\r\n```\r\n\"use strict\";\r\n\r\nvar _interopRequire = function(a) {\r\n    return a && a.__esModule ? a[\"default\"] : a;\r\n}, foo = _interopRequire(require(\"foo\")), foo2 = _interopRequire(require(\"foo2\"));\r\n\r\nconsole.log(foo), console.log(foo2);\r\n```\r\nwith `grunt-babel`, using\r\n```\r\n        babel: {\r\n            options: {\r\n                experimental: true,\r\n                compact: false\r\n            },\r\n            scripts: {\r\n            },\r\n            modules: {\r\n                options: {\r\n                    modules: \"amd\"\r\n                }\r\n            }\r\n        }\r\n```\r\n\r\nIs this behavior intended, maybe different default options?\r\n\r\nIf so, how do I accomplish the same output?\r\n\r\nGreetings\r\n\r\nNicholas"}}