Skip to content

Update environment-variables.md with info about env.DEV #1630

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

spookyuser
Copy link
Contributor

I'm not sure if this is a bug or intended but if it's not a bug and the docs just need to updated, hopefully this is correct. I also removed the deprecated chromeApi key.

Copy link

netlify bot commented Apr 29, 2025

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit d032bdb
🔍 Latest deploy log https://app.netlify.com/sites/creative-fairy-df92c4/deploys/681def33b4d10f0008982670
😎 Deploy Preview https://deploy-preview-1630--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@aklinker1 aklinker1 left a comment

Choose a reason for hiding this comment

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

Some small structural changes, then we're good to merge. Thanks for opening a PR!

},
});
```

WXT can't load your `.env` files until after the config file has been loaded. So by using the function syntax for `manifest`, it defers creating the object until after the `.env` files are loaded into the process.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you move your changes to be below this line? I think having this explaination beneath the original example is better, since your new example isn't about .env file variables.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, done!

spookyuser and others added 3 commits May 9, 2025 13:59
Co-authored-by: Aaron <aaronklinker1@gmail.com>
Co-authored-by: Aaron <aaronklinker1@gmail.com>
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