We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6340c1 commit 0623832Copy full SHA for 0623832
packages/plugin-vue/src/index.ts
@@ -106,8 +106,11 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin {
106
107
// Temporal handling for 2.7 breaking change
108
const isSSR = (opt: { ssr?: boolean } | boolean | undefined) =>
109
- opt === undefined ? !!options.ssr :
110
- (typeof opt === 'boolean' ? opt : opt?.ssr === true)
+ opt === undefined
+ ? !!options.ssr
111
+ : typeof opt === 'boolean'
112
+ ? opt
113
+ : opt?.ssr === true
114
115
return {
116
name: 'vite:vue',
0 commit comments