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

Callout automatic env var inclusion in dependsOn config #1772

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

Merged
merged 1 commit into from
Aug 25, 2022
Merged

Conversation

mehulkar
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Aug 25, 2022

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

Name Status Preview Updated
turbo-site ✅ Ready (Inspect) Visit Preview Aug 25, 2022 at 6:46PM (UTC)

Luckily, you only need to be aware of this on other build systems; you don't need to worry
about these edge cases when using Turborepo on Vercel.

</Callout>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

environment variables that are going to be inlined in your build. For example, if the `web`
workspace contains a Next.js project, you do not need to specify any environment variables that
[start with `NEXT_PUBLIC_`](https://nextjs.org/docs/basic-features/environment-variables#exposing-environment-variables-to-the-browser) in the `dependsOn` config.
Turbo already knows that the build output will change when the value of these environment variables
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

4 participants