{"action":"opened","issue":{"url":"https://api.github.com/repos/airbnb/react-dates/issues/1210","repository_url":"https://api.github.com/repos/airbnb/react-dates","labels_url":"https://api.github.com/repos/airbnb/react-dates/issues/1210/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/react-dates/issues/1210/comments","events_url":"https://api.github.com/repos/airbnb/react-dates/issues/1210/events","html_url":"https://github.com/airbnb/react-dates/issues/1210","id":332566440,"node_id":"MDU6SXNzdWUzMzI1NjY0NDA=","number":1210,"title":"react-dates css classes being removed after production build","user":{"login":"stevenfitzpatrick","id":23268855,"node_id":"MDQ6VXNlcjIzMjY4ODU1","avatar_url":"https://avatars0.githubusercontent.com/u/23268855?v=4","gravatar_id":"","url":"https://api.github.com/users/stevenfitzpatrick","html_url":"https://github.com/stevenfitzpatrick","followers_url":"https://api.github.com/users/stevenfitzpatrick/followers","following_url":"https://api.github.com/users/stevenfitzpatrick/following{/other_user}","gists_url":"https://api.github.com/users/stevenfitzpatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenfitzpatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenfitzpatrick/subscriptions","organizations_url":"https://api.github.com/users/stevenfitzpatrick/orgs","repos_url":"https://api.github.com/users/stevenfitzpatrick/repos","events_url":"https://api.github.com/users/stevenfitzpatrick/events{/privacy}","received_events_url":"https://api.github.com/users/stevenfitzpatrick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-14T21:12:29Z","updated_at":"2018-06-14T21:12:29Z","closed_at":null,"author_association":"NONE","body":"Running into an issue with react dates where the class names seem to be removed in webpack production build.\r\n\r\ni.e. inspecting the styles locally of the date picker it looks something like\r\n\r\n`SingleDatePickerInput_calendarIcon_15s124x`\r\n\r\nBut then when run in production it just looks like\r\n\r\n`_1i1103bk`\r\n\r\nOnly getting this issue when using the theming set up and Themedstylesheet libraries\r\n\r\n```\r\nimport 'react-dates/lib/css/_datepicker.css';\r\nimport ThemedStyleSheet from 'react-with-styles/lib/ThemedStyleSheet'\r\nimport aphroditeInterface from 'react-with-styles-interface-aphrodite'\r\nimport DefaultTheme from 'react-dates/lib/theme/DefaultTheme'\r\nimport { colors } from '@swrve/tailwind-config'\r\n```\r\n\r\nIs there anyway to change this behaviour in the library or webpack to not shorten the classnames produced ?\r\n\r\nVersion\r\n\"react-dates\": \"^16.7.0\",\r\n\r\n"}}
{"actor":{"display_login":"stevenfitzpatrick"}}