-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
feat(env): Load env from .env.[browser]
variants
#1078
feat(env): Load env from .env.[browser]
variants
#1078
Conversation
✅ Deploy Preview for creative-fairy-df92c4 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Nice, do you think we also need the |
@wxt-dev/auto-icons
@wxt-dev/i18n
@wxt-dev/module-react
@wxt-dev/module-solid
@wxt-dev/module-svelte
@wxt-dev/module-vue
wxt
commit: |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1078 +/- ##
==========================================
- Coverage 82.24% 81.76% -0.48%
==========================================
Files 127 127
Lines 6635 6670 +35
Branches 1107 1108 +1
==========================================
- Hits 5457 5454 -3
- Misses 1164 1202 +38
Partials 14 14 ☔ View full report in Codecov by Sentry. |
.env.[browser]
dotenv file variants
.env.[browser]
dotenv file variants.env.[browser]
dotenv file variants
.env.[browser]
dotenv file variants.env.[browser]
variants
I considered about doing that but thought it might be weird if someone did |
I added them. I'll merge and do a release with this soon! |
Adds ability to prioritize browser-specific environment settings when resolving configuration.
The
mode
andbrowser
files will have highest precedence, followed by the rest as they exist today.