{"action":"created","issue":{"url":"https://api.github.com/repos/michelson/dante2/issues/134","repository_url":"https://api.github.com/repos/michelson/dante2","labels_url":"https://api.github.com/repos/michelson/dante2/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/michelson/dante2/issues/134/comments","events_url":"https://api.github.com/repos/michelson/dante2/issues/134/events","html_url":"https://github.com/michelson/dante2/issues/134","id":390264802,"node_id":"MDU6SXNzdWUzOTAyNjQ4MDI=","number":134,"title":"  SyntaxError: Unexpected token import","user":{"login":"p8ul","id":17355400,"node_id":"MDQ6VXNlcjE3MzU1NDAw","avatar_url":"https://avatars3.githubusercontent.com/u/17355400?v=4","gravatar_id":"","url":"https://api.github.com/users/p8ul","html_url":"https://github.com/p8ul","followers_url":"https://api.github.com/users/p8ul/followers","following_url":"https://api.github.com/users/p8ul/following{/other_user}","gists_url":"https://api.github.com/users/p8ul/gists{/gist_id}","starred_url":"https://api.github.com/users/p8ul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p8ul/subscriptions","organizations_url":"https://api.github.com/users/p8ul/orgs","repos_url":"https://api.github.com/users/p8ul/repos","events_url":"https://api.github.com/users/p8ul/events{/privacy}","received_events_url":"https://api.github.com/users/p8ul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-12T15:00:57Z","updated_at":"2018-12-12T17:31:18Z","closed_at":null,"author_association":"NONE","body":"Am using Dante2 with create react app and I am getting this error when running yarn run test\r\n` Details:\r\n\r\n    /Users/ke-c02pvr5wfvh3/projects/react/ah-maps-frontend/node_modules/Dante2/package/es/components/blocks/video.js:19\r\n    import React from 'react';\r\n    ^^^^^^\r\n\r\n    SyntaxError: Unexpected token import\r\n\r\n      1 | import React from 'react';\r\n    > 2 | import { VideoBlockConfig } from 'Dante2/package/es/components/blocks/video';\r\n        | ^\r\n      3 | import { EmbedBlockConfig } from 'Dante2/package/es/components/blocks/embed';\r\n      4 | import { PlaceholderBlockConfig } from 'Dante2/package/es/components/blocks/placeholder';\r\n      5 | import { Container, Grid, Form } from 'semantic-ui-react';`"},"comment":{"url":"https://api.github.com/repos/michelson/dante2/issues/comments/446673532","html_url":"https://github.com/michelson/dante2/issues/134#issuecomment-446673532","issue_url":"https://api.github.com/repos/michelson/dante2/issues/134","id":446673532,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjY3MzUzMg==","user":{"login":"p8ul","id":17355400,"node_id":"MDQ6VXNlcjE3MzU1NDAw","avatar_url":"https://avatars3.githubusercontent.com/u/17355400?v=4","gravatar_id":"","url":"https://api.github.com/users/p8ul","html_url":"https://github.com/p8ul","followers_url":"https://api.github.com/users/p8ul/followers","following_url":"https://api.github.com/users/p8ul/following{/other_user}","gists_url":"https://api.github.com/users/p8ul/gists{/gist_id}","starred_url":"https://api.github.com/users/p8ul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p8ul/subscriptions","organizations_url":"https://api.github.com/users/p8ul/orgs","repos_url":"https://api.github.com/users/p8ul/repos","events_url":"https://api.github.com/users/p8ul/events{/privacy}","received_events_url":"https://api.github.com/users/p8ul/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T17:31:18Z","updated_at":"2018-12-12T17:31:18Z","author_association":"NONE","body":"Thanks using `lib` flavor worked fine\r\n\r\nHere is my refactored code \r\n`import { VideoBlockConfig } from 'Dante2/package/lib/components/blocks/video';\r\nimport { EmbedBlockConfig } from 'Dante2/package/lib/components/blocks/embed';\r\nimport { PlaceholderBlockConfig } from 'Dante2/package/lib/components/blocks/placeholder';`"}}
{"actor":{"display_login":"p8ul"}}