diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ab17ec9f263..d4177c13e07e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing yet! +### Fixed + +- Export `tailwindcss/lib/util/flattenColorPalette.js` for backward compatibility ([#16411](https://github.com/tailwindlabs/tailwindcss/pull/16411)) ## [4.0.6] - 2025-02-10 diff --git a/packages/tailwindcss/package.json b/packages/tailwindcss/package.json index 71066aca8b52..99b86f92765d 100644 --- a/packages/tailwindcss/package.json +++ b/packages/tailwindcss/package.json @@ -35,6 +35,10 @@ "require": "./src/compat/flatten-color-palette.cts", "import": "./src/compat/flatten-color-palette.ts" }, + "./lib/util/flattenColorPalette.js": { + "require": "./src/compat/flatten-color-palette.cts", + "import": "./src/compat/flatten-color-palette.ts" + }, "./defaultTheme": { "require": "./src/compat/default-theme.cts", "import": "./src/compat/default-theme.ts" @@ -99,6 +103,10 @@ "require": "./dist/flatten-color-palette.js", "import": "./dist/flatten-color-palette.mjs" }, + "./lib/util/flattenColorPalette.js": { + "require": "./dist/flatten-color-palette.js", + "import": "./dist/flatten-color-palette.mjs" + }, "./package.json": "./package.json", "./index.css": "./index.css", "./index": "./index.css",