ConsenSysMesh / rimble-ui

React components that implement Rimble's Design System.
https://rimble.consensys.design/
MIT License
462 stars 67 forks source link

Warnings when building library #376

Closed MikeLockz closed 4 years ago

MikeLockz commented 4 years ago

Describe the bug When running the build, there are errors in the console:

(!) Missing global variable names
Use output.globals to specify browser global variable names corresponding to external modules
react (guessing 'React')
prop-types (guessing 'PropTypes')
styled-components (guessing 'styled')
react-dom (guessing 'ReactDOM')

To Reproduce Steps to reproduce the behavior:

  1. yarn start
  2. See error

Expected behavior Should not see any warnings.

Screenshots

image

Rimble UI Version