{"action":"created","issue":{"url":"https://api.github.com/repos/strothj/react-docgen-typescript-loader/issues/24","repository_url":"https://api.github.com/repos/strothj/react-docgen-typescript-loader","labels_url":"https://api.github.com/repos/strothj/react-docgen-typescript-loader/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/strothj/react-docgen-typescript-loader/issues/24/comments","events_url":"https://api.github.com/repos/strothj/react-docgen-typescript-loader/issues/24/events","html_url":"https://github.com/strothj/react-docgen-typescript-loader/issues/24","id":355938389,"node_id":"MDU6SXNzdWUzNTU5MzgzODk=","number":24,"title":"Webpack configuration fails to build typescript.","user":{"login":"sztrzask","id":4059524,"node_id":"MDQ6VXNlcjQwNTk1MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4059524?v=4","gravatar_id":"","url":"https://api.github.com/users/sztrzask","html_url":"https://github.com/sztrzask","followers_url":"https://api.github.com/users/sztrzask/followers","following_url":"https://api.github.com/users/sztrzask/following{/other_user}","gists_url":"https://api.github.com/users/sztrzask/gists{/gist_id}","starred_url":"https://api.github.com/users/sztrzask/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sztrzask/subscriptions","organizations_url":"https://api.github.com/users/sztrzask/orgs","repos_url":"https://api.github.com/users/sztrzask/repos","events_url":"https://api.github.com/users/sztrzask/events{/privacy}","received_events_url":"https://api.github.com/users/sztrzask/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-31T11:09:37Z","updated_at":"2018-09-26T16:02:15Z","closed_at":null,"author_association":"NONE","body":"Proposed webpack configuration fails to build typescript.\r\n\r\nRandom number of tsx files are reported with error TS1005: ';' expected. during storybok's build.\r\n\r\nThis is my tsconfig:\r\n```\r\n{\r\n  \"compilerOptions\": {\r\n    \"baseUrl\": \".\",\r\n    \"outDir\": \"build/dist\",\r\n    \"module\": \"esnext\",\r\n    \"target\": \"es5\",\r\n    \"lib\": [\"es6\", \"dom\"],\r\n    \"sourceMap\": true,\r\n    \"allowJs\": true,\r\n    \"jsx\": \"react\",\r\n    \"moduleResolution\": \"node\",\r\n    \"rootDirs\": [\"src\"],\r\n    \"forceConsistentCasingInFileNames\": true,\r\n    \"noImplicitReturns\": true,\r\n    \"noImplicitThis\": true,\r\n    \"noImplicitAny\": true,\r\n    \"strictNullChecks\": true,\r\n    \"suppressImplicitAnyIndexErrors\": true,\r\n    \"noUnusedLocals\": true\r\n  },\r\n  \"exclude\": [\r\n    \"node_modules\",\r\n    \"build\",\r\n    \"scripts\",\r\n    \"acceptance-tests\",\r\n    \"webpack\",\r\n    \"jest\",\r\n    \"src/setupTests.ts\",\r\n    \"**/*.test.tsx\"\r\n  ]\r\n}\r\n\r\n```\r\n\r\nI am using create-react-app-ts and if I use the storybook's webpack configuration from storybook (https://storybook.js.org/configurations/typescript-config/) the code compiles and storybook starts, however it's using the older `plugin` instead of `loader`\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/strothj/react-docgen-typescript-loader/issues/comments/424772393","html_url":"https://github.com/strothj/react-docgen-typescript-loader/issues/24#issuecomment-424772393","issue_url":"https://api.github.com/repos/strothj/react-docgen-typescript-loader/issues/24","id":424772393,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDc3MjM5Mw==","user":{"login":"Redmega","id":662951,"node_id":"MDQ6VXNlcjY2Mjk1MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/662951?v=4","gravatar_id":"","url":"https://api.github.com/users/Redmega","html_url":"https://github.com/Redmega","followers_url":"https://api.github.com/users/Redmega/followers","following_url":"https://api.github.com/users/Redmega/following{/other_user}","gists_url":"https://api.github.com/users/Redmega/gists{/gist_id}","starred_url":"https://api.github.com/users/Redmega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Redmega/subscriptions","organizations_url":"https://api.github.com/users/Redmega/orgs","repos_url":"https://api.github.com/users/Redmega/repos","events_url":"https://api.github.com/users/Redmega/events{/privacy}","received_events_url":"https://api.github.com/users/Redmega/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T16:02:15Z","updated_at":"2018-09-26T16:02:15Z","author_association":"NONE","body":"Can confirm that kebab case totally breaks stuff. Facing the same issue in my repo."}}
{"actor":{"display_login":"Redmega"}}