{"action":"created","issue":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/494","repository_url":"https://api.github.com/repos/facebookincubator/create-react-app","labels_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/494/comments","events_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/494/events","html_url":"https://github.com/facebookincubator/create-react-app/issues/494","id":173320555,"number":494,"title":"Sourcemaps are not working properly ","user":{"login":"mohsen1","id":543633,"avatar_url":"https://avatars.githubusercontent.com/u/543633?v=3","gravatar_id":"","url":"https://api.github.com/users/mohsen1","html_url":"https://github.com/mohsen1","followers_url":"https://api.github.com/users/mohsen1/followers","following_url":"https://api.github.com/users/mohsen1/following{/other_user}","gists_url":"https://api.github.com/users/mohsen1/gists{/gist_id}","starred_url":"https://api.github.com/users/mohsen1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohsen1/subscriptions","organizations_url":"https://api.github.com/users/mohsen1/orgs","repos_url":"https://api.github.com/users/mohsen1/repos","events_url":"https://api.github.com/users/mohsen1/events{/privacy}","received_events_url":"https://api.github.com/users/mohsen1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-25T21:58:25Z","updated_at":"2016-11-20T17:27:47Z","closed_at":"2016-08-25T22:25:59Z","body":"I just downloaded from npm (v 0.0.1) and sourcemaps are not correct: \n\nI see this in Chrome devtools\n\n``` js\n'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = __webpack_require__(/*! react */ 83);\n\nvar _react2 = _interopRequireDefault(_react);\n\n__webpack_require__(/*! ./App.css */ 256);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar URL = function URL() {\n  _classCallCheck(this, URL);\n\n  this.url = '';\n  this.isError = false;\n  this.response = {};\n  this.statusCode = 200;\n};\n....\n```\n\nfor my code:\n\n``` js\nimport React, { Component } from 'react';\nimport './App.css';\n\nclass URL {\n    constructor() {\n        this.url = '';\n        this.isError = false;\n        this.response = {};\n        this.statusCode = 200;\n    }\n}\n...\n```\n"},"comment":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/comments/261791850","html_url":"https://github.com/facebookincubator/create-react-app/issues/494#issuecomment-261791850","issue_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/494","id":261791850,"user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"created_at":"2016-11-20T17:27:47Z","updated_at":"2016-11-20T17:27:47Z","body":"Since people seem to prefer it I merged #924.\r\nIt will enable sourcemaps and will be out in 0.8.0."}}
{"actor":{"display_login":"gaearon"}}