From 23e973f46ccca32930e65a15dd94df3bf3c30add Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Mon, 18 Dec 2023 13:15:11 -0500 Subject: [PATCH 1/2] Fix custom config loading in Standalone CLI --- src/lib/load-config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/load-config.ts b/src/lib/load-config.ts index e879412a3977..345b262e80a3 100644 --- a/src/lib/load-config.ts +++ b/src/lib/load-config.ts @@ -8,8 +8,8 @@ let jiti: ReturnType | null = null // @internal // This WILL be removed in some future release // If you rely on this your stuff WILL break -export function useCustomJiti(_jiti: ReturnType) { - jiti = _jiti +export function useCustomJiti(_jiti: () => ReturnType) { + jiti = _jiti() } function lazyJiti() { From 859261fb98aa4f620b3ba983290f947b39de6d6c Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Mon, 18 Dec 2023 13:50:10 -0500 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb44a74c7ef8..0da3bfa93fdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fix support for container query utilities with arbitrary values ([#12534](https://github.com/tailwindlabs/tailwindcss/pull/12534)) +- Fix custom config loading in Standalone CLI ([#12616](https://github.com/tailwindlabs/tailwindcss/pull/12616)) ### Added