{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3322","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3322/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3322/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/3322/events","html_url":"https://github.com/Microsoft/TypeScript/issues/3322","id":83164458,"number":3322,"title":"[Question] Is there any way to transpile to vanilla js? No commonjs or adm.","user":{"login":"ericmdantas","id":7040162,"avatar_url":"https://avatars.githubusercontent.com/u/7040162?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmdantas","html_url":"https://github.com/ericmdantas","followers_url":"https://api.github.com/users/ericmdantas/followers","following_url":"https://api.github.com/users/ericmdantas/following{/other_user}","gists_url":"https://api.github.com/users/ericmdantas/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmdantas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmdantas/subscriptions","organizations_url":"https://api.github.com/users/ericmdantas/orgs","repos_url":"https://api.github.com/users/ericmdantas/repos","events_url":"https://api.github.com/users/ericmdantas/events{/privacy}","received_events_url":"https://api.github.com/users/ericmdantas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-31T19:19:39Z","updated_at":"2015-05-31T19:19:39Z","closed_at":null,"body":"Hello!\r\n\r\nI'm trying to build a module that the user (developer) will consume by either using:\r\n- Pure javascript: He'll have my ```class``` loaded in the global scope, for example.\r\n- Commonjs: He'll be able to call it using ```require``` - and maybe with SystemJS.\r\n- AMD: He'll be able to use it with RequireJS and maybe with SystemJS.\r\n- ES6: He'll be able to use it with the ES6 syntax.\r\n\r\nSo, right now I'm using ```gulp-typescript``` to transpile my code to the ```dist``` folder. I transpile once for ```commonjs```, once for ```amd```, once for ```es6```.. but it seems that there's no way to transpile to pure Javascript (other than using the module syntax *inside* my ```.ts``` file).\r\n\r\nIs there any way to accomplish this?\r\n\r\nThanks in advance!"}}