Skip to content

Commit 67fd939

Browse files
committed
Fix custom config loading in Standalone CLI (#12616)
* Fix custom config loading in Standalone CLI * Update changelog
1 parent cc94c76 commit 67fd939

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Fixed
1111

1212
- Fix support for container query utilities with arbitrary values ([#12534](https://github.com/tailwindlabs/tailwindcss/pull/12534))
13+
- Fix custom config loading in Standalone CLI ([#12616](https://github.com/tailwindlabs/tailwindcss/pull/12616))
1314

1415
## [3.3.6] - 2023-12-04
1516

src/lib/load-config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ let jiti: ReturnType<typeof jitiFactory> | null = null
88
// @internal
99
// This WILL be removed in some future release
1010
// If you rely on this your stuff WILL break
11-
export function useCustomJiti(_jiti: ReturnType<typeof jitiFactory>) {
12-
jiti = _jiti
11+
export function useCustomJiti(_jiti: () => ReturnType<typeof jitiFactory>) {
12+
jiti = _jiti()
1313
}
1414

1515
function lazyJiti() {

0 commit comments

Comments
 (0)