Skip to content

Commit

Permalink
Update lib/makeWebpackConfig.js
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis authored Nov 18, 2024
1 parent 146d712 commit 50e1a1c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/makeWebpackConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,8 @@ module.exports = async (playroomConfig, options) => {
// Only apply VanillaExtract plugin to playroom's source `.css.ts` files
return (
/\.css\.ts$/i.test(filePath) &&
includePaths.some((playroomPath) =>
filePath.startsWith(playroomPath)
)
includePaths.some(filePath.startsWith)

);
},
}),
Expand Down

0 comments on commit 50e1a1c

Please sign in to comment.