Merge pull request #100 from vercel/develop

Fallback Mode and Upgrade
This commit is contained in:
B 2020-11-26 13:33:03 -03:00 committed by GitHub
commit fcaa5c8e9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 152 additions and 1516 deletions

View File

@ -56,7 +56,7 @@
"keen-slider": "^5.2.4",
"lodash.random": "^3.2.0",
"lodash.throttle": "^4.1.1",
"next": "^10.0.1-canary.7",
"next": "^10.0.3",
"next-seo": "^4.11.0",
"next-themes": "^0.0.4",
"postcss-nesting": "^7.0.1",

View File

@ -51,8 +51,7 @@ export async function getStaticPaths({ locales }: GetStaticPathsContext) {
return arr
}, [])
: products.map((product) => `/product${product.node.path}`),
// If your store has tons of products, enable fallback mode to improve build times!
fallback: false,
fallback: 'unstable_blocking',
}
}

1663
yarn.lock

File diff suppressed because it is too large Load Diff