mirror of
https://github.com/egoist/tsup.git
synced 2025-12-08 20:35:58 +00:00
fix: fix typo in postcssPlugin (#764)
This commit is contained in:
parent
3da1c00b13
commit
a2803ddd35
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user