Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Nov 2, 2024
1 parent 0485305 commit 32bd89a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vike/node/plugin/plugins/importBuild/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ function importBuild(): Plugin[] {
},
...serverProductionEntryPlugin({
getServerProductionEntry: () => {
return getEntryCode(config, configVike)
return getServerProductionEntryCode(config, configVike)
},
libraryName: 'Vike'
})
]
}

function getEntryCode(config: ResolvedConfig, configVike: ConfigVikeResolved): string {
function getServerProductionEntryCode(config: ResolvedConfig, configVike: ConfigVikeResolved): string {
const importPath = getImportPath(config)
const vikeManifest = getVikeManifest(configVike)
const importerCode = [
Expand Down

0 comments on commit 32bd89a

Please sign in to comment.