diff --git a/lib/makeWebpackConfig.js b/lib/makeWebpackConfig.js index 05a5fcd1..21fbc44b 100644 --- a/lib/makeWebpackConfig.js +++ b/lib/makeWebpackConfig.js @@ -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) + ); }, }),