fix: fix typo in postcssPlugin (#764)

This commit is contained in:
Gavin Sharp 2022-11-14 11:23:21 -05:00 committed by GitHub
parent 3da1c00b13
commit a2803ddd35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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