Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
magne4000 committed Feb 20, 2025
1 parent 88e3a58 commit 0e8367c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vike/node/plugin/plugins/buildConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,10 @@ function buildConfig(): Plugin[] {
sequential: true,
async handler(options, bundle) {
const outDirs = getOutDirs(config)
if (!viteIsSSR(config) && !clientManifest) {
clientManifest = await readManifestFile(outDirs, 'client')
if (!viteIsSSR(config)) {
if (!clientManifest) {
clientManifest = await readManifestFile(outDirs, 'client')
}
} else if (!serverManifest) {
serverManifest = await readManifestFile(outDirs, 'server')
}
Expand Down

0 comments on commit 0e8367c

Please sign in to comment.