Skip to content

CSS not showing up when using component -v1.2.0 #204

@pietrop

Description

@pietrop

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions