tailwindcss-forms icon indicating copy to clipboard operation
tailwindcss-forms copied to clipboard

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

Open farseekers opened this issue 8 months ago • 0 comments

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.

farseekers avatar Jun 12 '25 12:06 farseekers