Skip to content

Commit

Permalink
Fix ternary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
liamdon committed Nov 14, 2022
1 parent 948d6e2 commit e856824
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,14 @@ function preactPlugin({
},
jsxPlugin,
...(devToolsEnabled
? []
: [
? [
preactDevtoolsPlugin({
injectInProd: devtoolsInProd,
shouldTransform,
}),
]),
...(prefreshEnabled ? [] : [prefresh({ include, exclude })]),
]
: []),
...(prefreshEnabled ? [prefresh({ include, exclude })] : []),
];
}

Expand Down

0 comments on commit e856824

Please sign in to comment.