About tailwindcss and postcss-loader, builtin:lightningcss-loader usage #11493
-
1.我在项目中使用了tailwindcss v4,我按照官方的指引成功的集成了进来参考。但是我看到关于性能分析的部分提到可以使用 builtin:lightningcss-loader 来替换 postcss-loader来提高性能(目前的集成方式要依赖于postcss-loader)。 |
Beta Was this translation helpful? Give feedback.
Answered by
chenjiahan
Sep 2, 2025
Replies: 1 comment
-
At the current stage, if you need to use Tailwind CSS, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zongpengz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the current stage, if you need to use Tailwind CSS,
postcss-loader
is still required (it can be used together withbuiltin:lightningcss-loader
, where LightningCSS handles CSS syntax downgrading while PostCSS is configured with only Tailwind CSS as a plugin).