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) {