Case sensitive issues with react
Neablis opened this issue · 3 comments
**Overview of the Issue -
Case sensitive issues with using require('React') instead of require('react') with webpack
ERROR in .//react-atellier/dist/react-atellier.min.js/react-atellier/dist/react-atellier.min.js 1:82-98
Module not found: Error: Cannot resolve module 'React' in /melodis/node_websites/Soundhound-Atellier/node_modules/react-atellier/dist
@ ./
**Motivation for or Use Case -
Cant build using webpack on some systems.
**#Atellier Version(s) -
0.0.14
**Browsers and Operating System -
Lots of warnings in OSX, will not build in Linux
**Suggest a Fix -
Not a fix but if you manually go into /dist/react-atellier.min.js and change all instances of require('React') to require('react') it will fix it.
TBD
@Neablis i added an alias in my webpack file to React
which seemed to solve the issue for me