Skip to content

[v4] Can't find Plugins in standalone cli #15012

@delCatta

Description

@delCatta

What version of Tailwind CSS are you using?

For example: v4.0.0.alpha.34

What build tool (or framework if it abstracts the build tool) are you using?

For example: standalone-cli @ 4.0.0.alpha.34

What version of Node.js are you using?

For example: N/A

What browser are you using?

For example: N/A

What operating system are you using?

For example: macOS

Reproduction URL

https://github.com/delCatta/tailwind-issue

Describe your issue

Using the latest release I'm unable to use the @tailwindcss/typography plugin because it is not included in the executable.

I copied the release file and created an input.css file with the following contents:

@import "tailwindcss";
@plugin "@tailwindcss/typography";

Then I ran ./tailwindcss-macos-arm64 -i index.css -o built.css and got:

./tailwindcss-macos-arm64 -i index.css -o built.css
5737 |       }
5738 |       const message = `resolve '${request}' in '${path}'`;
5739 |       const finishResolved = (result) => {
5740 |         return callback(null, result.path === false ? false : `${result.path.replace(/#/g, "\0#")}${result.query ? result.query.replace(/#/g, "\0#") : ""}${result.fragment || ""}`, result);
5741 |       };
5742 |         const error = new Error("Can't " + message);
                             ^
error: Can't resolve '@tailwindcss/typography' in '<THE-CURRENT-FOLDER>'
      at finishWithoutResolve (/$bunfs/root/tailwindcss-macos-arm64:5742:23)
      at /$bunfs/root/tailwindcss-macos-arm64:5834:19
      at /$bunfs/root/tailwindcss-macos-arm64:5834:19
      at /$bunfs/root/tailwindcss-macos-arm64:5834:19
      at /$bunfs/root/tailwindcss-macos-arm64:5834:19
      at /$bunfs/root/tailwindcss-macos-arm64:5834:19

I wish to be able to use on rails using tailwind-rails and tailwind-ruby

Metadata

Metadata

Assignees

No one assigned

    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