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); }); }