Skip to content

Commit

Permalink
fix: fix typo in postcssPlugin (egoist#764)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinsharp authored and amitdahan committed Dec 25, 2022
1 parent 50384b8 commit 1de8aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esbuild/postcss.ts
Expand Up @@ -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) {
Expand Down

0 comments on commit 1de8aeb

Please sign in to comment.