Skip to content

docs: explain how to configure ipx at runtime#1738

Merged
danielroe merged 5 commits into
nuxt:mainfrom
Iran-110:patch-1
Oct 30, 2025
Merged

docs: explain how to configure ipx at runtime#1738
danielroe merged 5 commits into
nuxt:mainfrom
Iran-110:patch-1

Conversation

@Iran-110

@Iran-110 Iran-110 commented Mar 10, 2025

Copy link
Copy Markdown
Contributor

🔗 Linked issue

resolves #1118
resolves #1427

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ 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.

@Iran-110
Iran-110 requested a review from danielroe as a code owner March 10, 2025 21:46
@codecov-commenter

codecov-commenter commented Mar 10, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 7.03%. Comparing base (6022fa8) to head (7cf1884).
⚠️ Report is 157 commits behind head on main.

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           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@danielroe

Copy link
Copy Markdown
Member

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?

@majtanmarek

Copy link
Copy Markdown

is any chance to merge this?

@danielroe

Copy link
Copy Markdown
Member

@majtanmarek I believe you should already be able to configure IPX using runtime config. This is purely a documentation update.

@danielroe danielroe changed the title feat: injects public environment variables in runtime docs: explain how to configure ipx at runtime Oct 30, 2025
@pkg-pr-new

pkg-pr-new Bot commented Oct 30, 2025

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/image@1738

commit: 7cf1884

@danielroe
danielroe merged commit 8d547e8 into nuxt:main Oct 30, 2025
8 of 9 checks passed
This was referenced Oct 29, 2025
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.

Request for Enhancing Nuxt Image Module with Environment Variable Support feat: allow to edit image config at runtime

4 participants