Skip to content

Commit 93fce55

Browse files
authored
fix(preview): set isPreview true (#15695)
1 parent 3c9cab6 commit 93fce55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vite/src/node/preview.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export async function preview(
108108
'serve',
109109
'production',
110110
'production',
111+
true,
111112
)
112113

113114
const distDir = path.resolve(config.root, config.build.outDir)

0 commit comments

Comments
 (0)