Skip to content

fix(ipx): support runtime nuxt baseURL #778

Merged
pi0 merged 3 commits into
mainfrom
fix/ipx-baseurl
Mar 22, 2023
Merged

fix(ipx): support runtime nuxt baseURL #778
pi0 merged 3 commits into
mainfrom
fix/ipx-baseurl

Conversation

@danielroe

Copy link
Copy Markdown
Member

🔗 Linked issue

resolves #665
#548

❓ 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 like performance)
  • ✨ 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

This adds a new property nuxt.baseURL to global image options. Providers like IPX can take this into account when rendering their image URLs.

Some linting also took place in the types file - apologies, I couldn't resist, but I separated out the commit.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added bug Something isn't working ipx labels Mar 21, 2023
@danielroe danielroe requested a review from pi0 March 21, 2023 12:28
@danielroe danielroe self-assigned this Mar 21, 2023
@netlify

netlify Bot commented Mar 21, 2023

Copy link
Copy Markdown

Deploy Preview for nuxt-image-v1 canceled.

Name Link
🔨 Latest commit 36cae70
🔍 Latest deploy log https://app.netlify.com/sites/nuxt-image-v1/deploys/6419a389d1420d0007b8e021

Comment thread src/runtime/providers/ipx.ts
@pi0 pi0 merged commit 1a5eea1 into main Mar 22, 2023
@danielroe danielroe deleted the fix/ipx-baseurl branch March 22, 2023 17:18
@pi0 pi0 mentioned this pull request Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ipx

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to update [ipx.BASE_URL] in nuxt/image config

2 participants