blackbaud / skyux2

SKY UX 2 is the new version of Blackbaud’s user experience framework that implements Blackbaud design patterns. It extends the framework to abstract many complexities of modern web development and takes advantage of Angular 2 to increase the tooling, testing, and performance available.
https://developer.blackbaud.com/skyux
MIT License
32 stars 65 forks source link

Investigate exposing webpack alias #2166

Closed Blackbaud-BobbyEarl closed 5 years ago

Blackbaud-BobbyEarl commented 5 years ago

One of our libraries uses react by executing const react = require('react');. This behavior is working; however, warning messages are shown in the console advising the developer to use the "production build" of react. This happens as require('react') defaults to pulling in the development version.

It's possible we could expose some of the webpack functionality to address this for specific consumers.

Blackbaud-SteveBrush commented 5 years ago

Won't fix for now.