You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
error when requiring node modules that use destructuring #415
nevermind, am closing this, as I presume it would be against the spirit of create-react-app to allow this much customization. will eject and update the excludes regex
It is not recommended to run Babel on node_modules. This is known to break some libraries, and also is terribly slow. The ecosystem convention so far has been to precompile libraries to ES5 before shipping them to npm—at least for the libraries meant to be consumed in the browser.
Activity
stopachka commentedon Aug 10, 2016
nevermind, am closing this, as I presume it would be against the spirit of create-react-app to allow this much customization. will eject and update the excludes regex
gaearon commentedon Aug 10, 2016
It is not recommended to run Babel on
node_modules. This is known to break some libraries, and also is terribly slow. The ecosystem convention so far has been to precompile libraries to ES5 before shipping them to npm—at least for the libraries meant to be consumed in the browser.