diff --git a/Tiltconfig.yaml b/Tiltconfig.yaml index 164a411f..ad6aaec3 100644 --- a/Tiltconfig.yaml +++ b/Tiltconfig.yaml @@ -231,6 +231,7 @@ blip: apiHost: 'http://localhost:31500' realmHost: 'http://localhost:32000' rollbarPostServerToken: '' # Rollbar post_server_item access token for posting source maps on production builds + reactAppGAID: '' # Google Analytics 4 ID webpackDevTool: cheap-module-eval-source-map webpackDevToolViz: cheap-source-map # Suggest changing `cheap-source-map` to the slower, but far more helpful `source-map` if debugging errors in viz package files webpackPublicPath: 'http://localhost:31500/' @@ -258,7 +259,6 @@ blip: - ALL # i18nEnabled: 'true' # Uncomment to enable internationalization UI # rxEnabled: 'true' # Uncomment to enable prescriptions UI - # clinicsEnabled: 'true' # Uncomment to enable clinics UI pendoEnabled: 'false' # Set to `true` to enable pendo # disableDevTools: true # Uncomment if working with large data sets is sluggish in development build # buildTarget: production # Uncomment to run minified production builds diff --git a/Tiltfile b/Tiltfile index e8a32f5c..542cb7b2 100644 --- a/Tiltfile +++ b/Tiltfile @@ -290,10 +290,10 @@ def applyServiceOverrides(tidepool_helm_template_cmd): packageName=packageName, ) - buildCommand += ' --build-arg LINKED_PKGS={linkedPackages} --build-arg ROLLBAR_POST_SERVER_TOKEN={rollbarPostServerToken} --build-arg CLINICS_ENABLED={clinicsEnabled} --build-arg PENDO_ENABLED={pendoEnabled} --build-arg I18N_ENABLED={i18nEnabled} --build-arg RX_ENABLED={rxEnabled}'.format( + buildCommand += ' --build-arg LINKED_PKGS={linkedPackages} --build-arg ROLLBAR_POST_SERVER_TOKEN={rollbarPostServerToken} --build-arg REACT_APP_GAID={reactAppGAID} --build-arg PENDO_ENABLED={pendoEnabled} --build-arg I18N_ENABLED={i18nEnabled} --build-arg RX_ENABLED={rxEnabled}'.format( linkedPackages=','.join(activeLinkedPackages), rollbarPostServerToken=overrides.get('rollbarPostServerToken'), - clinicsEnabled=overrides.get('clinicsEnabled'), + reactAppGAID=overrides.get('reactAppGAID'), pendoEnabled=overrides.get('pendoEnabled'), i18nEnabled=overrides.get('i18nEnabled'), rxEnabled=overrides.get('rxEnabled'),