From a2803ddd35f3695d4a2c3fae7bcace45eba75331 Mon Sep 17 00:00:00 2001 From: Gavin Sharp Date: Mon, 14 Nov 2022 11:23:21 -0500 Subject: [PATCH] fix: fix typo in postcssPlugin (#764) --- src/esbuild/postcss.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/esbuild/postcss.ts b/src/esbuild/postcss.ts index 806eeeaf..064d9aa1 100644 --- a/src/esbuild/postcss.ts +++ b/src/esbuild/postcss.ts @@ -89,7 +89,7 @@ export const postcssPlugin = ({ // Load postcss config const { plugins, options } = await getPostcssConfig(args.path) - if (plugins || plugins.length > 0) { + if (plugins && plugins.length > 0) { // Load postcss const postcss = getPostcss() if (!postcss) {