{"action":"created","issue":{"url":"https://api.github.com/repos/Kiho/react-form-builder/issues/8","repository_url":"https://api.github.com/repos/Kiho/react-form-builder","labels_url":"https://api.github.com/repos/Kiho/react-form-builder/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Kiho/react-form-builder/issues/8/comments","events_url":"https://api.github.com/repos/Kiho/react-form-builder/issues/8/events","html_url":"https://github.com/Kiho/react-form-builder/issues/8","id":384822654,"node_id":"MDU6SXNzdWUzODQ4MjI2NTQ=","number":8,"title":"NPM build is failing","user":{"login":"bhupesh-sf","id":6471510,"node_id":"MDQ6VXNlcjY0NzE1MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/6471510?v=4","gravatar_id":"","url":"https://api.github.com/users/bhupesh-sf","html_url":"https://github.com/bhupesh-sf","followers_url":"https://api.github.com/users/bhupesh-sf/followers","following_url":"https://api.github.com/users/bhupesh-sf/following{/other_user}","gists_url":"https://api.github.com/users/bhupesh-sf/gists{/gist_id}","starred_url":"https://api.github.com/users/bhupesh-sf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhupesh-sf/subscriptions","organizations_url":"https://api.github.com/users/bhupesh-sf/orgs","repos_url":"https://api.github.com/users/bhupesh-sf/repos","events_url":"https://api.github.com/users/bhupesh-sf/events{/privacy}","received_events_url":"https://api.github.com/users/bhupesh-sf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-27T14:32:52Z","updated_at":"2018-11-27T15:16:47Z","closed_at":null,"author_association":"NONE","body":"When I am doing npm start its working perfectly fine but when I am deploying it on the server and doing npm build its failing and giving following error\r\n\r\n> ERROR in index-9925d6700efd0ec7e6cb.bundle.js from UglifyJs\r\n> Unexpected token: name (t) [./node_modules/beedle/dist/beedle.js:1,178][index-9925d6700efd0ec7e6cb.bundle.js:11480,137]\r\n> \r\n> ERROR in index-9925d6700efd0ec7e6cb.bundle.js from UglifyJs\r\n> Unexpected token: name (t) [./node_modules/beedle/dist/beedle.js:1,178][index-9925d6700efd0ec7e6cb.bundle.js:11480,137]\r\n> Child html-webpack-plugin for \"index.html\":`\r\n\r\nI have root out everything and its happening only when I import the files where I have used Form Builder "},"comment":{"url":"https://api.github.com/repos/Kiho/react-form-builder/issues/comments/442095375","html_url":"https://github.com/Kiho/react-form-builder/issues/8#issuecomment-442095375","issue_url":"https://api.github.com/repos/Kiho/react-form-builder/issues/8","id":442095375,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjA5NTM3NQ==","user":{"login":"bhupesh-sf","id":6471510,"node_id":"MDQ6VXNlcjY0NzE1MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/6471510?v=4","gravatar_id":"","url":"https://api.github.com/users/bhupesh-sf","html_url":"https://github.com/bhupesh-sf","followers_url":"https://api.github.com/users/bhupesh-sf/followers","following_url":"https://api.github.com/users/bhupesh-sf/following{/other_user}","gists_url":"https://api.github.com/users/bhupesh-sf/gists{/gist_id}","starred_url":"https://api.github.com/users/bhupesh-sf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhupesh-sf/subscriptions","organizations_url":"https://api.github.com/users/bhupesh-sf/orgs","repos_url":"https://api.github.com/users/bhupesh-sf/repos","events_url":"https://api.github.com/users/bhupesh-sf/events{/privacy}","received_events_url":"https://api.github.com/users/bhupesh-sf/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T15:16:47Z","updated_at":"2018-11-27T15:16:47Z","author_association":"NONE","body":"I do have these, following is my .bablerc file \r\n\r\n`{\r\n    \"presets\": [\"env\", \"react\"],\r\n    // \"plugins\": [[\"transform-remove-console\", { \"exclude\": [ \"error\", \"warn\"] }],\"transform-class-properties\",\"transform-object-rest-spread\",\"transform-runtime\"]\r\n    \"plugins\": [\"transform-class-properties\",\"transform-object-rest-spread\",\"transform-runtime\"]\r\n}`"}}
{"actor":{"display_login":"bhupesh-sf"}}