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
Expected dead code to be eliminated when building a React project in production mode.
😯 Current Behavior
Error in console:
Uncaught Error: React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://fb.me/react-perf-use-the-production-build
💁 Possible Solution
Implement/Enable Tree Shaking.
🌍 Your Environment
Software
Version(s)
Parcel
1.4.1
Node
8.4.0
Yarn
1.3.2
Operating System
Windows 10
The text was updated successfully, but these errors were encountered:
Choose one: is this a 🐛 bug report or 🙋 feature request?
🐛 Bug
🎛 Configuration (.babelrc, package.json, cli command)
🤔 Expected Behavior
Expected dead code to be eliminated when building a React project in production mode.
😯 Current Behavior
Error in console:
💁 Possible Solution
Implement/Enable Tree Shaking.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: