tailwindcss/packages
Jiahan Chen 982e920df8
Add Rspack optional peer dependency for @tailwindcss/webpack (#20027)
## Summary

This PR makes Rspack support explicit for `@tailwindcss/webpack` by
adding `@rspack/core` as an optional peer dependency alongside
`webpack`.

The loader already works through Rspack's webpack-compatible loader API,
as shown in this runnable example:
https://github.com/rstackjs/rstack-examples/tree/main/rspack/tailwindcss.
The README and package description are updated to document that usage.

## Test plan

No Rspack-specific tests were added. The loader implementation is
unchanged, and the existing webpack loader tests exercise the same
loader API path that Rspack uses, which should cover the relevant
behavior.

---------

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2026-05-23 11:14:48 +02:00
..
@tailwindcss-browser Bump dependencies (#20095) 2026-05-21 17:58:55 +02:00
@tailwindcss-cli Cleanup lockfile / dependencies (#20102) 2026-05-22 16:57:46 +02:00
@tailwindcss-node Bump dependencies (#20095) 2026-05-21 17:58:55 +02:00
@tailwindcss-postcss Bump dependencies (#20095) 2026-05-21 17:58:55 +02:00
@tailwindcss-standalone Bump dependencies (#20095) 2026-05-21 17:58:55 +02:00
@tailwindcss-upgrade Bump dependencies (#20095) 2026-05-21 17:58:55 +02:00
@tailwindcss-vite Fix 'Sourcemap is likely to be incorrect' warnings when using @tailwindcss/vite (#20103) 2026-05-22 17:57:25 +02:00
@tailwindcss-webpack Add Rspack optional peer dependency for @tailwindcss/webpack (#20027) 2026-05-23 11:14:48 +02:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Bump dependencies (#20095) 2026-05-21 17:58:55 +02:00
tsconfig.base.json Improve debug logs (#15303) 2024-12-11 15:27:20 +01:00