From 665569d62680452c2c04c7fb667d38d7c1ede695 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Wed, 14 Jun 2023 13:11:05 -0400 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20break=20tools=20using=20custom?= =?UTF-8?q?=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/setupTrackingContext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/setupTrackingContext.js b/src/lib/setupTrackingContext.js index 419dd8594..5bd90701d 100644 --- a/src/lib/setupTrackingContext.js +++ b/src/lib/setupTrackingContext.js @@ -80,7 +80,7 @@ function getTailwindConfig(configOrPath, cssThemeValues) { // Retrieve an existing context from cache if possible (since contexts are unique per // source path), or set up a new one (including setting up watchers and registering // plugins) then return it -export default function setupTrackingContext(configOrPath, cssThemeValues) { +export default function setupTrackingContext(configOrPath, cssThemeValues = {}) { return ({ tailwindDirectives, registerDependency }) => { return (root, result) => { let [tailwindConfig, userConfigPath, tailwindConfigHash, configDependencies] =