Skip to content

Commit

Permalink
Always compile the index page (if it exists) (#28265) (#28283)
Browse files Browse the repository at this point in the history
(cherry picked from commit f75e358)

Co-authored-by: Kyle Mathews <mathews.kyle@gmail.com>
  • Loading branch information
vladar and KyleAMathews committed Nov 25, 2020
1 parent bd3abae commit 138e015
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby/src/redux/reducers/visited-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const createDefault = (): StateMap => {
const defaults = new Set<string>()
defaults.add(`component---cache-dev-404-page-js`)
defaults.add(`component---src-pages-404-js`)
defaults.add(`component---src-pages-index-js`)

const state: StateMap = new Map([
[`client`, new Set(defaults)],
Expand Down

0 comments on commit 138e015

Please sign in to comment.