diff --git a/crates/turbopack-node/src/transforms/postcss.rs b/crates/turbopack-node/src/transforms/postcss.rs index 75d1d4f8e5d8d..31b4d10f50e35 100644 --- a/crates/turbopack-node/src/transforms/postcss.rs +++ b/crates/turbopack-node/src/transforms/postcss.rs @@ -166,9 +166,13 @@ async fn extra_configs( asset_context: Vc>, postcss_config_path: Vc, ) -> Result> { - let config_paths = [postcss_config_path - .parent() - .join("tailwind.config.js".to_string())]; + let parent_path = postcss_config_path.parent(); + + let config_paths = [ + parent_path.join("tailwind.config.js".to_string()), + parent_path.join("tailwind.config.ts".to_string()), + ]; + let configs = config_paths .into_iter() .map(|path| async move {