这是indexloc提供的服务,不要输入任何密码
Skip to content

fix(microfrontends): ensure that local proxy is loose #10289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

chris-olszewski
Copy link
Member

Description

The MFE proxy is a persistent task that isn't cached. We don't need to get in user's way when they're trying to pass in an environment variable to be used by the local proxy.

Testing Instructions

Test that a proxy script gets an env var.

  • Setup a custom proxy script in package.json: echo Starting with $PROXY_VAR && cat
  • Run PROXY_VAR=foo turbo_dev --skip-infer dev -F nextjs-app-marketing
  • Verify that Starting with foo is in the proxy logs

@chris-olszewski chris-olszewski requested a review from a team as a code owner April 4, 2025 13:55
Copy link

vercel bot commented Apr 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 1:55pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 1:55pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 1:55pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 1:55pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 1:55pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 1:55pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 1:55pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 1:55pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 1:55pm
turbo-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 1:55pm

@chris-olszewski chris-olszewski merged commit ed3131b into main Apr 4, 2025
38 checks passed
@chris-olszewski chris-olszewski deleted the chrisolszewski/turbo-4646-add-support-for-reading-env-variables-in-local-proxy branch April 4, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants