tellerhq / teller-connect-react

React bindings for Teller Connect
6 stars 6 forks source link

Correct Webpack configuration for case sensitive systems like Linux #7

Open maurot0p opened 8 months ago

maurot0p commented 8 months ago

The current build doesn't work on Linux, cant Resolve module 'React', it's supposed to be 'react'. Works on MacOS cause of case insensitivity but fails on Linux. Noticed this while working on the build server. Warning: There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing. Compare these module identifiers: node_modules/React/index.js used by teller-connect-react/dist/teller-connect-react.umd.js and /node_modules/react/index.js Used by 1267 module(s)