Skip to content

A PostCSS plugin did not pass the from option to postcss.parse #182

Open
tailwindlabs/tailwindcss
#18329
@farseekers

Description

@farseekers

What version of @tailwindcss/forms are you using?

v0.5.10

What version of Node.js are you using?

v22.14.0

What browser are you using?

Chrome

What operating system are you using?

macOS

Reproduction repository

https://github.com/farseekers/tailwind

Describe your issue

When running vite in a minimal-reproduction repository with SCSS

@use "tailwindcss";
@plugin "@tailwindcss/forms";

and postcss.config.mjs

export default {
  plugins: {
    "@tailwindcss/postcss": {}
  }
}

the following warning appears in my console

A PostCSS plugin did not pass the from option to postcss.parse. This may cause imported assets to be incorrectly transformed. If you've recently added a PostCSS plugin that raised this warning, please contact the package author to fix the issue.

I understand I might be doing something wrong. I will say this only started happening with tailwindcss 4.1.6.

Thanks for any help.

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