Skip to content

Commit

Permalink
chore: remove experimental appDir: true from examples (#52289)
Browse files Browse the repository at this point in the history
The experimental flag is no longer needed.

https://nextjs.org/blog/next-13-4
  • Loading branch information
styfle committed Jul 5, 2023
1 parent 8e1fa7e commit 31dee6f
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 32 deletions.
12 changes: 0 additions & 12 deletions examples/app-dir-i18n-routing/next.config.js

This file was deleted.

1 change: 0 additions & 1 deletion examples/app-dir-mdx/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
const nextConfig = {
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'mdx'],
experimental: {
appDir: true,
mdxRs: true,
},
}
Expand Down
3 changes: 0 additions & 3 deletions examples/github-pages/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
const nextConfig = {
output: 'export',
basePath: '/gh-pages-test',
experimental: {
appDir: true,
},
}

module.exports = nextConfig
1 change: 0 additions & 1 deletion examples/with-grafbase/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
const nextConfig = {
reactStrictMode: true,
experimental: {
appDir: true,
runtime: 'experimental-edge',
},
}
Expand Down
1 change: 0 additions & 1 deletion examples/with-opentelemetry/next.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module.exports = {
experimental: {
instrumentationHook: true,
appDir: true,
},
}
3 changes: 0 additions & 3 deletions examples/with-static-export/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
**/
const nextConfig = {
output: 'export',
experimental: {
appDir: true,
},
}

module.exports = nextConfig
8 changes: 0 additions & 8 deletions examples/with-storybook/next.config.js

This file was deleted.

3 changes: 0 additions & 3 deletions examples/with-turbopack/next.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true, // Recommended for the `pages` directory, default in `app`.
experimental: {
appDir: true,
},
}

module.exports = nextConfig

0 comments on commit 31dee6f

Please sign in to comment.