diff --git a/src/jit/lib/setupContextUtils.js b/src/jit/lib/setupContextUtils.js index 89080e075df1..ec8af952c255 100644 --- a/src/jit/lib/setupContextUtils.js +++ b/src/jit/lib/setupContextUtils.js @@ -479,7 +479,12 @@ function registerPlugins(plugins, context) { } } -export function createContext(tailwindConfig, changedContent, tailwindDirectives, root) { +export function createContext( + tailwindConfig, + changedContent = [], + tailwindDirectives = new Set(), + root = postcss.root() +) { let context = { disposables: [], ruleCache: new Set(),