Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.

fix: fallback blocking would cause builds to crash #139

Merged
merged 1 commit into from
Jan 10, 2021

Conversation

lindsaylevine
Copy link
Contributor

@lindsaylevine lindsaylevine commented Jan 10, 2021

Fixes #111

for pages with fallback: "blocking", they're generated into prerender-manifest's dynamicRoutes as having fallback: null, not fallback: false. therefore, our previous check failed to exclude those pages, so anyone trying to use fallback: blocking with NoN would get the next_whatever_page_it_is.js already exists failure.

@lindsaylevine lindsaylevine added the type: bug code to address defects in shipped code label Jan 10, 2021
@lindsaylevine lindsaylevine added this to the Next 10 features milestone Jan 10, 2021
@lindsaylevine
Copy link
Contributor Author

cc @TejasQ @Keisuke69

@FinnWoelm
Copy link
Contributor

This looks great! Thanks for implementing, @lindsaylevine! If Cypress tests pass, this can be merged IMO 👍

@lindsaylevine lindsaylevine force-pushed the ll/fallback-blocking-fix branch from 0d27aa3 to 7d82423 Compare January 10, 2021 21:59
@lindsaylevine lindsaylevine merged commit 853983b into main Jan 10, 2021
@lindsaylevine lindsaylevine deleted the ll/fallback-blocking-fix branch January 10, 2021 22:16
lindsaylevine added a commit that referenced this pull request Jan 14, 2021
- Fix: fallback blocking would cause builds to crash ([#139](#139))
- next/image initial support ([#138](#138))
- generate headers file to override static chunks cache control ([#141](#141))
- track NoN files for configured dirs to clean before each run ([#134](#134))
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build error when using "fallback: blocking" in Next 10
2 participants