Skip to content

Commit ea89576

Browse files
Remove "experimental" export
With the line in, you get this warning / error message: Invalid next.config.js options detected: ⚠ Unrecognized key(s) in object: 'appDir' at "experimental" ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config ⚠ App router is available by default now, `experimental.appDir` option can be safely removed. I removed the line and the app runs ok without it
1 parent 8a26b2a commit ea89576

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

next.config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@ module.exports = {
2020
hostname: 'source.unsplash.com',
2121
},
2222
],
23-
},
24-
experimental: { appDir: true },
23+
}
2524
};

0 commit comments

Comments
 (0)