mirror of
https://github.com/vercel/commerce.git
synced 2025-05-01 23:37:56 +00:00
commit
fcaa5c8e9c
@ -56,7 +56,7 @@
|
|||||||
"keen-slider": "^5.2.4",
|
"keen-slider": "^5.2.4",
|
||||||
"lodash.random": "^3.2.0",
|
"lodash.random": "^3.2.0",
|
||||||
"lodash.throttle": "^4.1.1",
|
"lodash.throttle": "^4.1.1",
|
||||||
"next": "^10.0.1-canary.7",
|
"next": "^10.0.3",
|
||||||
"next-seo": "^4.11.0",
|
"next-seo": "^4.11.0",
|
||||||
"next-themes": "^0.0.4",
|
"next-themes": "^0.0.4",
|
||||||
"postcss-nesting": "^7.0.1",
|
"postcss-nesting": "^7.0.1",
|
||||||
|
@ -51,8 +51,7 @@ export async function getStaticPaths({ locales }: GetStaticPathsContext) {
|
|||||||
return arr
|
return arr
|
||||||
}, [])
|
}, [])
|
||||||
: products.map((product) => `/product${product.node.path}`),
|
: products.map((product) => `/product${product.node.path}`),
|
||||||
// If your store has tons of products, enable fallback mode to improve build times!
|
fallback: 'unstable_blocking',
|
||||||
fallback: false,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user