Add config for only generating static env (#77038)
This adds a config for more granular handling for
`--experimental-build-mode=generate` to allow only inlining the env
variables since this was moved to the generate step and you might need
these inlined without also running prerendering e.g. when using the
experimental test mode server.