Skip to content

Commit

Permalink
fix: fix typo in postcssPlugin (#764)
Browse files Browse the repository at this point in the history
gavinsharp authored Nov 14, 2022
1 parent 3da1c00 commit a2803dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esbuild/postcss.ts
Original file line number Diff line number Diff line change
@@ -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) {

1 comment on commit a2803dd

@vercel
Copy link

@vercel vercel bot commented on a2803dd Nov 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.