From 5aad08b7c1c16e66066e7e677e6b3f66a03d1c4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kuna?= <1282324+codecalm@users.noreply.github.com> Date: Thu, 8 Oct 2026 14:19:39 +0200 Subject: [PATCH] Drop the duplicate autoprefixer pass from the RTL build (#3292) --- .build/build-css.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.build/build-css.ts b/.build/build-css.ts index 512ff308b..38124927d 100644 --- a/.build/build-css.ts +++ b/.build/build-css.ts @@ -82,13 +82,13 @@ async function compile(entry: string): Promise<{ outFile: string; result: Result return { outFile, result } } -// rtlcss over the prefixed output: outDir/x.css → outDir/x.rtl.css (+ .map) +// rtlcss over the prefixed, already autoprefixed output: outDir/x.css → outDir/x.rtl.css (+ .map) async function rtl(entry: string, outFile: string, base: Result): Promise { const rtlFile = join(outDir, `${basename(entry, '.scss')}.rtl.css`) // Same input the CLI read from disk: the prefixed css including its // sourceMappingURL annotation, so postcss picks up the previous map. // The previous map is not on disk yet (writes are buffered) — pass it in. - const result = await postcss([autoprefixer({ cascade: false }), rtlcss()]).process(base.css, { + const result = await postcss([rtlcss()]).process(base.css, { from: outFile, to: rtlFile, map: { ...mapOptions, prev: base.map.toString() },