{"action":"created","issue":{"url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1207","repository_url":"https://api.github.com/repos/parcel-bundler/parcel","labels_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1207/labels{/name}","comments_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1207/comments","events_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1207/events","html_url":"https://github.com/parcel-bundler/parcel/issues/1207","id":315092208,"node_id":"MDU6SXNzdWUzMTUwOTIyMDg=","number":1207,"title":"Disable automatic babel compilation","user":{"login":"bfred-it","id":1402241,"node_id":"MDQ6VXNlcjE0MDIyNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/1402241?v=4","gravatar_id":"","url":"https://api.github.com/users/bfred-it","html_url":"https://github.com/bfred-it","followers_url":"https://api.github.com/users/bfred-it/followers","following_url":"https://api.github.com/users/bfred-it/following{/other_user}","gists_url":"https://api.github.com/users/bfred-it/gists{/gist_id}","starred_url":"https://api.github.com/users/bfred-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfred-it/subscriptions","organizations_url":"https://api.github.com/users/bfred-it/orgs","repos_url":"https://api.github.com/users/bfred-it/repos","events_url":"https://api.github.com/users/bfred-it/events{/privacy}","received_events_url":"https://api.github.com/users/bfred-it/received_events","type":"User","site_admin":false},"labels":[{"id":771777967,"node_id":"MDU6TGFiZWw3NzE3Nzc5Njc=","url":"https://api.github.com/repos/parcel-bundler/parcel/labels/:speech_balloon:%20RFC","name":":speech_balloon: RFC","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-17T14:40:34Z","updated_at":"2018-07-05T07:11:56Z","closed_at":null,"author_association":"NONE","body":"**Choose one:** is this a 🐛 bug report or 🙋 feature request?\r\n\r\n 🐛 bug report\r\n\r\n\r\nThe [site](https://parceljs.org/transforms.html) mentions:\r\n\r\n> Parcel automatically runs these transforms **when it finds a configuration file** (e.g. .babelrc, .postcssrc) in a module.\r\n\r\nBut Parcel is automatically running my JS file through babel and \"breaking the code\" (1. finds `await`; 2. turns it into `regeneratorRuntime`; 3. doesn't include `regeneratorRuntime`)\r\n\r\nDoes Parcel **require** a babel configuration or not? The docs make it sounds like one has to install and configure `babel-preset-env` but apparently it does so without any config.\r\n\r\nMoreover, `babel-preset-env` is still run even if I provide this `.babelrc` configuration:\r\n\r\n```json\r\n{\"presets\": []}\r\n```\r\n\r\nThe only thing that worked:\r\n\r\n```\r\n# .browserlistrc\r\nlast 1 Chrome version\r\n```\r\n\r\n\r\n### 🎛 Configuration (.babelrc, package.json, cli command)\r\n\r\nNo configuration:\r\n\r\n```sh\r\nnpm run watch\r\n```\r\n\r\n```json\r\n{\r\n  \"license\": \"MIT\",\r\n  \"scripts\": {\r\n    \"watch\": \"parcel index.html\"\r\n  },\r\n  \"dependencies\": {},\r\n  \"devDependencies\": {\r\n    \"parcel-bundler\": \"^1.7.1\"\r\n  }\r\n}\r\n\r\n```\r\n\r\n`node_modules` is clean and up to date. No babel is installed.\r\n\r\n### 🤔 Expected Behavior\r\n\r\nNo babel processing\r\n\r\n### 😯 Current Behavior\r\n\r\nJS file is transformed by babel from `await/async` into `regeneratorRuntime` code.\r\n\r\n### 💁 Possible Solution\r\n\r\n- Fix docs; or\r\n- Disable unconfigured babel\r\n\r\n### 🔦 Context\r\n\r\n\r\n\r\n### 💻 Code Sample\r\n\r\n\r\n\r\n### 🌍 Your Environment\r\n\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n\r\n| Software         | Version(s) |\r\n| ---------------- | ---------- |\r\n| Parcel           | 1.6.2\r\n| Node             | v9.8.0\r\n| npm/Yarn         | 5.8.0\r\n| Operating System | macOS 10.13.4\r\n\r\n<!-- Love parcel? Please consider supporting our collective:\r\n👉  https://opencollective.com/parcel/donate -->\r\n"},"comment":{"url":"https://api.github.com/repos/parcel-bundler/parcel/issues/comments/402626951","html_url":"https://github.com/parcel-bundler/parcel/issues/1207#issuecomment-402626951","issue_url":"https://api.github.com/repos/parcel-bundler/parcel/issues/1207","id":402626951,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjYyNjk1MQ==","user":{"login":"psypersky","id":3036334,"node_id":"MDQ6VXNlcjMwMzYzMzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/3036334?v=4","gravatar_id":"","url":"https://api.github.com/users/psypersky","html_url":"https://github.com/psypersky","followers_url":"https://api.github.com/users/psypersky/followers","following_url":"https://api.github.com/users/psypersky/following{/other_user}","gists_url":"https://api.github.com/users/psypersky/gists{/gist_id}","starred_url":"https://api.github.com/users/psypersky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psypersky/subscriptions","organizations_url":"https://api.github.com/users/psypersky/orgs","repos_url":"https://api.github.com/users/psypersky/repos","events_url":"https://api.github.com/users/psypersky/events{/privacy}","received_events_url":"https://api.github.com/users/psypersky/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T07:11:56Z","updated_at":"2018-07-05T07:11:56Z","author_association":"NONE","body":"This zero config thing is turning out more confusing that it should be, it is not zero config, it is a collection of defaults configs that can be overwritten but we don't know the defaults so we have to dig in the github issues for answers :( maybe just better docs?"}}
{"actor":{"display_login":"psypersky"}}