Skip to content

Plugin with Tailwind CSS peer dependency errors on Tailwind Play #2257

Closed
@zefir-git

Description

@zefir-git

When trying to use a plugin that adds tailwindcss as a peer dependency, Skypack fails to resolve the peer dependency and results in code like:

import"/error/build:tailwindcss@v4.1.7-DcDkYtqPA6VtbFbpPxzJ?from=name-of-plugin";

Which results in an error like:

[Package Error] "tailwindcss@v4.1.7" could not be built. (Imported by "name-of-plugin").

Example: https://play.tailwindcss.com/dXSRz9KCBt?file=css

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions