Skip to content

Commit

Permalink
typo: fix spelling of file-internal function removeOverriddenPageFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
cr7pt0gr4ph7 committed Nov 23, 2024
1 parent 939eb80 commit 5863ad2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vike/shared/getPageFiles/analyzePageClientSide.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function analyzePageClientSide(pageFilesAll: PageFile[], pageId: string): Analys
pageFilesClientSide = pageFilesClientSide.filter(
(p) => p.isEnv('CLIENT_ONLY') && !getExportNames(p).includes('render')
)
pageFilesClientSide = removeOverridenPageFiles(pageFilesClientSide)
pageFilesClientSide = removeOverriddenPageFiles(pageFilesClientSide)
}

const { clientEntries, clientDependencies } = determineClientEntry({
Expand Down Expand Up @@ -73,7 +73,7 @@ async function analyzePageClientSideInit(

// [WIP] Just an experiment needed by https://vike.dev/banner
// - Not sure I want to make something like a public API: the CSS of `_default.page.server.js` are still loaded -> weird DX.
function removeOverridenPageFiles(pageFilesClientSide: PageFile[]) {
function removeOverriddenPageFiles(pageFilesClientSide: PageFile[]) {
const pageFilesClientSide_: PageFile[] = []
for (const p of pageFilesClientSide) {
pageFilesClientSide_.push(p)
Expand Down

0 comments on commit 5863ad2

Please sign in to comment.