Skip to content

fix: update Tailwind CSS content path to use dynamic Medusa UI path#558

Open
hossam7amdy wants to merge 1 commit into
medusajs:mainfrom
hossam7amdy:fix/tailwind-content-path-monorepo
Open

fix: update Tailwind CSS content path to use dynamic Medusa UI path#558
hossam7amdy wants to merge 1 commit into
medusajs:mainfrom
hossam7amdy:fix/tailwind-content-path-monorepo

Conversation

@hossam7amdy
Copy link
Copy Markdown

In pnpm monorepo setups, hard-coded paths like
./node_modules/@medusajs/ui/dist/... can break because pnpm uses a
content-addressable store and symlinks, not a flat node_modules layout.

This commit resolves the physical package location using Node’s module
resolution and constructs the Tailwind content glob dynamically.

This ensures compatibility across pnpm, npm, and yarn installs.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 8, 2026

@hossam7amdy is attempting to deploy a commit to the medusajs Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant