This runs against headerInjection and the Cypress plugin, but a way to guarantee that configuration is "as-is" would allow Webpack to optimize bundles better. This would be a nice feature to enable for production builds.
Naturally, we do still like @app-config/inject. So maybe it makes sense to "freeze" a subset of your config (ie. global feature flags), which would not be allowed via injection.
This runs against headerInjection and the Cypress plugin, but a way to guarantee that configuration is "as-is" would allow Webpack to optimize bundles better. This would be a nice feature to enable for production builds.
Naturally, we do still like
@app-config/inject
. So maybe it makes sense to "freeze" a subset of your config (ie. global feature flags), which would not be allowed via injection.