bbc/react-transcript-editor

CSS not showing up when using component -v1.2.0

Closed this issue · 1 comments

Describe the bug

CSS not showing up when using component in another app

To Reproduce
Steps to reproduce the behavior:

  1. Create an app with Create React App
  2. install and initialise the component @bbc/react-transcript-editor@1.2.0
  3. See error. no CSS 🤷‍♂ 🤦‍♂

Expected behavior

To have CSS working in the packaged component.

Screenshots

Screenshot 2019-10-07 at 12 31 56

Additional context

Create React App doesn't come with .scss.

.scss might need to be bundled into a .css file when packaging/distributing the component to make it more widely compatible?

Earlier webpack config before .scss introduction webpack.config.js

Apologies, it might be something I introduced when updating webpack config to build. See https://github.com/bbc/react-transcript-editor/tree/pr/204