From 3394e3f57c62f9a474b632fe07504a10b4e41dea Mon Sep 17 00:00:00 2001 From: wongjn <11310624+wongjn@users.noreply.github.com> Date: Wed, 4 Jan 2023 10:29:05 +0000 Subject: [PATCH 1/2] Fix missing `blocklist` type --- types/config.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/config.d.ts b/types/config.d.ts index 9a5e0422f2cb..7b2a3eebcf60 100644 --- a/types/config.d.ts +++ b/types/config.d.ts @@ -53,6 +53,9 @@ type SafelistConfig = variants?: string[] }[] +// Blocklist related config +type BlocklistConfig = string[] + // Presets related config type PresetsConfig = Config[] @@ -349,6 +352,7 @@ interface OptionalConfig { prefix: Partial separator: Partial safelist: Partial + blocklist: Partial presets: Partial future: Partial experimental: Partial From 6063bdf7445f4def779c4566b162a2fa3735b89c Mon Sep 17 00:00:00 2001 From: wongjn <11310624+wongjn@users.noreply.github.com> Date: Wed, 4 Jan 2023 10:33:26 +0000 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0d862a386dd..8fce71eae9f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Allow direct nesting in `root` or `@layer` nodes ([#10229](https://github.com/tailwindlabs/tailwindcss/pull/10229)) - Don't prefix classes in arbitrary variants ([#10214](https://github.com/tailwindlabs/tailwindcss/pull/10214)) - Fix perf regression when checking for changed content ([#10234](https://github.com/tailwindlabs/tailwindcss/pull/10234)) +- Fix missing `blocklist` member in the `Config` type ([#10239](https://github.com/tailwindlabs/tailwindcss/pull/10239)) ### Changed