Skip to content

Commit b7af4c6

Browse files
committed
feat(build): enable code splitting, optimize bundle, and export theme
utilities - Configure webpack to output individual bundles for each component (code splitting) - Add externals for peer dependencies (react, react-dom, styled-components, react-modal) - Export color palette and sizing utilities from main entry point - Document required peer dependencies in README - Reduce bundle size and improve tree shaking/code splitting for consumers
1 parent 7fc1570 commit b7af4c6

File tree

6 files changed

+267
-178
lines changed

6 files changed

+267
-178
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@
22

33
This repository contains a library of reusable React components extracted from the main [**BigBlueButton (BBB)**](https://github.com/bigbluebutton/bigbluebutton) project. These components provide a consistent and customizable interface that can be reused in other projects, allowing them to easily adopt the BBB visual identity.
44

5+
6+
## Peer Dependencies
7+
8+
This library requires the following peer dependencies to be installed in your project:
9+
10+
```
11+
react >=18.0.0
12+
react-dom >=18.0.0
13+
styled-components >=5.3.0
14+
react-modal >=3.16.1
15+
@emotion/react ^11.14.0
16+
@emotion/styled ^11.14.1
17+
@mui/material ^7.3.1
18+
@mui/styles ^6.4.8
19+
prop-types ^15.8.1
20+
react-icons ^5.5.0
21+
```
22+
23+
Make sure to install these dependencies to avoid runtime errors and ensure compatibility.
24+
525
## Installation
626

727
This library is under active development and has not yet been published on npm. For now, you can clone the repository and install it locally.

0 commit comments

Comments
 (0)