Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Build CSS in the library to share between projects #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nickoneill
Copy link
Member

@nickoneill nickoneill commented Jun 7, 2018

Opening this PR for comments, thanks @cdoremus

This work is being done against issue #3

```
The styling of these components will need the following import added to the root application's tsx file.
```
import '@5calls/react-components/lib/index.css';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct me if I'm wrong: we're building sass in two places, here and in the parent project. Do these get combined into a single css file by webpack or something as part of the build process?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CSS from react-components gets bundled by webpack during the 5calls/5calls build. You can run a build and check it out yourself, but I confirmed that it works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants