Unverified Commit 31dee6f3 authored by Steven's avatar Steven Committed by GitHub

chore: remove experimental `appDir: true` from examples (#52289)

The experimental flag is no longer needed.

https://nextjs.org/blog/next-13-4
parent 8e1fa7ea
// @ts-check
/**
* @type {import('next').NextConfig}
**/
const nextConfig = {
experimental: {
appDir: true,
},
}
module.exports = nextConfig
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
const nextConfig = { const nextConfig = {
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'], pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'],
experimental: { experimental: {
appDir: true,
mdxRs: true, mdxRs: true,
}, },
} }
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
const nextConfig = { const nextConfig = {
output: 'export', output: 'export',
basePath: '/gh-pages-test', basePath: '/gh-pages-test',
experimental: {
appDir: true,
},
} }
module.exports = nextConfig module.exports = nextConfig
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
const nextConfig = { const nextConfig = {
reactStrictMode: true, reactStrictMode: true,
experimental: { experimental: {
appDir: true,
runtime: 'experimental-edge', runtime: 'experimental-edge',
}, },
} }
......
module.exports = { module.exports = {
experimental: { experimental: {
instrumentationHook: true, instrumentationHook: true,
appDir: true,
}, },
} }
...@@ -5,9 +5,6 @@ ...@@ -5,9 +5,6 @@
**/ **/
const nextConfig = { const nextConfig = {
output: 'export', output: 'export',
experimental: {
appDir: true,
},
} }
module.exports = nextConfig module.exports = nextConfig
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
appDir: true,
},
}
module.exports = nextConfig
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
reactStrictMode: true, // Recommended for the `pages` directory, default in `app`. reactStrictMode: true, // Recommended for the `pages` directory, default in `app`.
experimental: {
appDir: true,
},
} }
module.exports = nextConfig module.exports = nextConfig
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment