Skip to content

fix: missing .env file in environment variables lessons (#1835)#1875

Open
AbdullahShafqat-OG wants to merge 1 commit intosveltejs:mainfrom
AbdullahShafqat-OG:env-file-missing-in-tutorial
Open

fix: missing .env file in environment variables lessons (#1835)#1875
AbdullahShafqat-OG wants to merge 1 commit intosveltejs:mainfrom
AbdullahShafqat-OG:env-file-missing-in-tutorial

Conversation

@AbdullahShafqat-OG
Copy link
Copy Markdown
Contributor

No .env files were showing up in the Environment Variables lessons of the Advanced SvelteKit tutorial. This PR updates the glob import so that .env is correctly included in the build version and visible across all four lessons in this section.

Fixes #1835

Before

image

After

image

Note:
Verified that the __data.json for env-static-private route includes the .env file in build
image

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 18, 2026

@AbdullahShafqat-OG is attempting to deploy a commit to the Svelte Team on Vercel.

A member of the Team first needs to authorize it.

@AbdullahShafqat-OG AbdullahShafqat-OG force-pushed the env-file-missing-in-tutorial branch 2 times, most recently from 7ecc636 to 3891050 Compare March 29, 2026 16:09
@AbdullahShafqat-OG AbdullahShafqat-OG force-pushed the env-file-missing-in-tutorial branch from 3891050 to 3e2f86a Compare April 4, 2026 13:25
@AbdullahShafqat-OG AbdullahShafqat-OG force-pushed the env-file-missing-in-tutorial branch from 3e2f86a to b724f3a Compare April 8, 2026 18:15
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.

.env file is not available in Environment variables lessons

1 participant