We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 005c1be commit f97759fCopy full SHA for f97759f
src/lib/setupTrackingContext.js
@@ -63,9 +63,7 @@ function getTailwindConfig(configOrPath) {
63
}
64
65
// It's a plain object, not a path
66
- let newConfig = resolveConfig(
67
- configOrPath.config === undefined ? configOrPath : configOrPath.config
68
- )
+ let newConfig = resolveConfig(configOrPath?.config ?? configOrPath ?? {})
69
70
newConfig = validateConfig(newConfig)
71
0 commit comments