react and react-dom have to be exluded from the bundled cine-ui npm package. Otherwise the project using cine-ui might install 2 different versions of react and react-dom, which makes the project crash.
This PR
excludes the packages from the bundle
adds them to peerDependencies so that they have to be installed by the project that uses cine-ui
I tested cine-ui manually with storybook and in the tradedesk project, everything still works.
react
andreact-dom
have to be exluded from the bundled cine-ui npm package. Otherwise the project using cine-ui might install 2 different versions of react and react-dom, which makes the project crash.This PR
I tested cine-ui manually with storybook and in the tradedesk project, everything still works.