diff --git a/CHANGELOG.md b/CHANGELOG.md index df08d91b050e..71e59f1c2719 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Cleanup unused `variantOrder` ([#9829](https://github.com/tailwindlabs/tailwindcss/pull/9829)) - Fix `foo-[abc]/[def]` not being handled correctly ([#9866](https://github.com/tailwindlabs/tailwindcss/pull/9866)) - Add container queries plugin to standalone CLI ([#9865](https://github.com/tailwindlabs/tailwindcss/pull/9865)) +- Support renaming of output files by `PostCSS` plugin. ([#9944](https://github.com/tailwindlabs/tailwindcss/pull/9944)) ## [3.2.4] - 2022-11-11 diff --git a/src/cli/build/plugin.js b/src/cli/build/plugin.js index 6b61c723eeff..1619dd38e50d 100644 --- a/src/cli/build/plugin.js +++ b/src/cli/build/plugin.js @@ -355,8 +355,8 @@ export async function createProcessor(args, cliConfigPath) { } return Promise.all([ - outputFile(output, result.css), - result.map && outputFile(output + '.map', result.map.toString()), + outputFile(result.opts.to, result.css), + result.map && outputFile(result.opts.to + '.map', result.map.toString()), ]) }) .then(() => {