Try a cleaner way to generate a non-RequireJS bundle.