Support renaming of output files by PostCSS plugin. (#9944)
* Support for rename of output files by postcss plugin. * update changelog Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
This commit is contained in:
parent
bf8f39a4db
commit
705d21397c
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue