After upgrading to react-jss@^10.0.0 throws error <img width="497" alt="Снимок экрана 2019-09-28 в 21 28 07" src="https://user-images.githubusercontent.com/10353856/65820898-3d3d0a80-e237-11e9-863d-f5f29753bea7.png"> Library that is imported uses react-jss hooks and is built with webpack.