Skip to content

Commit 552a0a2

Browse files
committed
fix: fixed build client input value
1 parent 7ccff1b commit 552a0a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/node/build.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ export async function build(cliOptions: CliOptions = {}) {
1919
const outDir = config.build.outDir || 'dist'
2020
const out = isAbsolute(outDir) ? outDir : join(root, outDir)
2121

22+
const { input } = Object.assign({}, config.ssrOptions || {}, cliOptions)
23+
2224
buildLog('Build for client...')
2325
await viteBuild({
2426
build: {

0 commit comments

Comments
 (0)