feat: injects public environment variables in runtime
๐ Linked issue
resolves #1118 and #1427
โ Type of change
- [x] ๐ Documentation (updates to the documentation or readme)
- [x] ๐ Bug fix (a non-breaking change that fixes an issue)
- [ ] ๐ Enhancement (improving an existing functionality)
- [x] โจ New feature (a non-breaking change that adds functionality)
- [ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- [ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
It helps to handle runtime configs to override the options in practice.
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 7.03%. Comparing base (6022fa8) to head (7cf1884).
Additional details and impacted files
@@ Coverage Diff @@
## main #1738 +/- ##
=====================================
Coverage 7.03% 7.03%
=====================================
Files 77 77
Lines 3567 3567
Branches 138 138
=====================================
Hits 251 251
Misses 3268 3268
Partials 48 48
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
is there a reason why you need to use public? shouldn't NUXT_IPX_ALIAS work just as well, given that the endpoint is only called on the server side?
is any chance to merge this?
@majtanmarek I believe you should already be able to configure IPX using runtime config. This is purely a documentation update.