Sitelet https://github.com/nuxt-modules/tailwindcss/pull/974
Skip to content

fix: try resolving tailwindcss from module - #974

Merged
ineshbose merged 1 commit into
mainfrom
fix/resolution
Apr 3, 2025
Merged

ineshbose merged 1 commit into
mainfrom
fix/resolution

Conversation

@danielroe

Copy link
Copy Markdown
Contributor

🔗 Linked issue

❓ 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

noticed this issue when multiple versions of tailwindcss were present in a monorepo. It's probably safest to resolve tailwind from the module itself given that it's a dependency of it (and pinned to ~3.4)

@what-the-diff

what-the-diff Bot commented Apr 3, 2025

Copy link
Copy Markdown

PR Summary

  • Improved Module Resolution
    The function responsible for finding a specific module in our codebase (such as our styling system, Tailwind CSS) has been updated to be more efficient. By adding a new parameter (import.meta.url), the system can now identify and locate these modules more accurately, ensuring our styling plan is applied consistently and as intended.
    This could lead to quicker load times and better performance of the website or app.

@netlify

netlify Bot commented Apr 3, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for nuxt-tailwindcss ready!

Name Link
🔨 Latest commit 5a58a6e
🔍 Latest deploy log https://app.netlify.com/sites/nuxt-tailwindcss/deploys/67eeb1aa573f390008ab3ff3
😎 Deploy Preview https://deploy-preview-974--nuxt-tailwindcss.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.

@ineshbose ineshbose left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you ❤️

@ineshbose
ineshbose merged commit f767243 into main Apr 3, 2025
@ineshbose
ineshbose deleted the fix/resolution branch April 3, 2025 16:34
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