Gate frontend SDK imports before build-time env validation
General lesson: when a browser SDK constructor rejects missing configuration, validate build-time public variables before eagerly importing the application module that constructs the client. Render an actionable configuration state, and make recovery instructions include the rebu…