When it comes time to bundle your application for production, you can use Parcel's production mode.
parcel build entry.js
Enabling production mode also sets the
NODE_ENV=production environment variable. Large libraries like React have development only debugging features which are disabled by setting this environment variable, which results in smaller and faster builds for production.