From d33245108398b40ac5738e9a422793f57de5f677 Mon Sep 17 00:00:00 2001 From: Tsubasa Sakai Date: Sat, 17 May 2025 16:25:51 +0900 Subject: [PATCH] [postcss-plugin] Fix importSource object syntax not working properly --- packages/@stylexjs/postcss-plugin/src/bundler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@stylexjs/postcss-plugin/src/bundler.js b/packages/@stylexjs/postcss-plugin/src/bundler.js index bfaff003c..60da7f045 100644 --- a/packages/@stylexjs/postcss-plugin/src/bundler.js +++ b/packages/@stylexjs/postcss-plugin/src/bundler.js @@ -20,7 +20,7 @@ module.exports = function createBundler() { if (typeof importSource === 'string') { return sourceCode.includes(importSource); } - return importSource.includes(sourceCode.from); + return sourceCode.includes(importSource.from); }); }