{"action":"created","issue":{"url":"https://api.github.com/repos/rollup/rollup-plugin-babel/issues/274","repository_url":"https://api.github.com/repos/rollup/rollup-plugin-babel","labels_url":"https://api.github.com/repos/rollup/rollup-plugin-babel/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/rollup/rollup-plugin-babel/issues/274/comments","events_url":"https://api.github.com/repos/rollup/rollup-plugin-babel/issues/274/events","html_url":"https://github.com/rollup/rollup-plugin-babel/issues/274","id":384119215,"node_id":"MDU6SXNzdWUzODQxMTkyMTU=","number":274,"title":"typescript + rollup-plugin-babel does not transform","user":{"login":"AllNamesRTaken","id":479546,"node_id":"MDQ6VXNlcjQ3OTU0Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/479546?v=4","gravatar_id":"","url":"https://api.github.com/users/AllNamesRTaken","html_url":"https://github.com/AllNamesRTaken","followers_url":"https://api.github.com/users/AllNamesRTaken/followers","following_url":"https://api.github.com/users/AllNamesRTaken/following{/other_user}","gists_url":"https://api.github.com/users/AllNamesRTaken/gists{/gist_id}","starred_url":"https://api.github.com/users/AllNamesRTaken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AllNamesRTaken/subscriptions","organizations_url":"https://api.github.com/users/AllNamesRTaken/orgs","repos_url":"https://api.github.com/users/AllNamesRTaken/repos","events_url":"https://api.github.com/users/AllNamesRTaken/events{/privacy}","received_events_url":"https://api.github.com/users/AllNamesRTaken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-25T21:09:45Z","updated_at":"2018-11-26T08:34:57Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI've been failing to have my rollup of typescript to work with babel. Just running babel through npx works fine but the rollup-plugin-babel doesn't seem to find the config files?\r\nmy rollup.config.js:\r\n\r\n    import typescript from 'rollup-plugin-typescript';\r\n    import babel from 'rollup-plugin-babel';\r\n\r\n    var plugins = [\r\n        typescript(/*{ plugin options }*/),\r\n        babel({\r\n            exclude: 'node_modules/**',\r\n        }),\r\n    ];\r\n\r\n    export default [{\r\n        input: 'src/index.ts',\r\n        plugins,\r\n        output: {\r\n            file: 'dist/index.js',\r\n            format: 'iife',\r\n            name: 'whatever',\r\n            sourcemap: true,\r\n        }\r\n    },\r\n    ];\r\n\r\n.babelrc\r\n\r\n    {\r\n        \"presets\": [\r\n            \"@babel/preset-env\"\r\n        ]\r\n    }\r\n\r\nWith this setup babel does not complain but really does nothing to my code as well.\r\n\r\nI have tried adding a babel.config.js to root:\r\n\r\n    module.exports = function () {\r\n        const presets = [\"@babel/preset-env\"];\r\n        //const plugins = [ ... ];\r\n\r\n        return {\r\n            presets,\r\n            //   plugins\r\n        };\r\n    }\r\n\r\nBut no change. Like I said, babel seem to work on its own.\r\n\r\nIs this a bug or simply me not knowing right from left?"},"comment":{"url":"https://api.github.com/repos/rollup/rollup-plugin-babel/issues/comments/441557440","html_url":"https://github.com/rollup/rollup-plugin-babel/issues/274#issuecomment-441557440","issue_url":"https://api.github.com/repos/rollup/rollup-plugin-babel/issues/274","id":441557440,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTU1NzQ0MA==","user":{"login":"AllNamesRTaken","id":479546,"node_id":"MDQ6VXNlcjQ3OTU0Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/479546?v=4","gravatar_id":"","url":"https://api.github.com/users/AllNamesRTaken","html_url":"https://github.com/AllNamesRTaken","followers_url":"https://api.github.com/users/AllNamesRTaken/followers","following_url":"https://api.github.com/users/AllNamesRTaken/following{/other_user}","gists_url":"https://api.github.com/users/AllNamesRTaken/gists{/gist_id}","starred_url":"https://api.github.com/users/AllNamesRTaken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AllNamesRTaken/subscriptions","organizations_url":"https://api.github.com/users/AllNamesRTaken/orgs","repos_url":"https://api.github.com/users/AllNamesRTaken/repos","events_url":"https://api.github.com/users/AllNamesRTaken/events{/privacy}","received_events_url":"https://api.github.com/users/AllNamesRTaken/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T08:34:57Z","updated_at":"2018-11-26T08:34:57Z","author_association":"NONE","body":"[lab repo](https://github.com/AllNamesRTaken/rollup-lab)\r\nrunning rollup -c will crash in the uglify plugin since the ```let``` is not transpiled"}}
{"actor":{"display_login":"AllNamesRTaken"}}