mirror of
https://github.com/vercel/commerce.git
synced 2025-06-03 06:46:59 +00:00
Update next.config.ts
This commit is contained in:
parent
90b590f8a4
commit
3cf71adcfd
@ -1,8 +1,4 @@
|
|||||||
process.env.COMMERCE_PROVIDER ??= 'local';
|
process.env.COMMERCE_PROVIDER = process.env.COMMERCE_PROVIDER || 'local';
|
||||||
// 🔧 fallback so the build never crashes if COMMERCE_PROVIDER is missing
|
|
||||||
if (!process.env.COMMERCE_PROVIDER) {
|
|
||||||
process.env.COMMERCE_PROVIDER = 'local';
|
|
||||||
}
|
|
||||||
export default {
|
export default {
|
||||||
experimental: {
|
experimental: {
|
||||||
ppr: true,
|
ppr: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user