Big goal here is to have only one App.js file to maintain. We want this file to build the Extension app if an extension env var is set, and the webapp if not.
In this diff, move webapp-specific logic into its own component, WebApp.js. Conditionally include this component at build time if you are not building the extension.