Skip to content

Make externalScripts configurable via env.config.js #877

@arbrandes

Description

@arbrandes

Description

Currently, GoogleAnalyticsLoader is hardcoded as the default value for the externalScripts parameter in initialize(). Unlike loggingService, analyticsService, and authService, there is no way to configure externalScripts via env.config.js or the runtime config API.

This means consumers cannot control which external scripts are loaded without passing the option directly to initialize(), which is not always feasible depending on how the MFE is set up.

The externalScripts option should follow the same config resolution pattern as the other services: check getConfig().externalScripts first, then fall back to the parameter default.

TODO

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions