Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Remove experimental config for appDir and @next/font #328

Merged
merged 9 commits into from
Jun 20, 2023
3 changes: 0 additions & 3 deletions docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ const withNextra = require('nextra')({
});

module.exports = withNextra({
experimental: {
appDir: true
},
redirects: () => [
// Index pages
{
Expand Down
1 change: 0 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
},
"dependencies": {
"@heroicons/react": "^2.0.17",
"@next/font": "^13.1.6",
"@tailwindcss/typography": "^0.5.9",
"clsx": "^1.2.1",
"http-status-codes": "^2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Inter} from '@next/font/google';
import {Inter} from 'next/font/google';
import Analytics from 'components/Analytics';
import {AppProps} from 'next/app';
import {ReactNode} from 'react';
Expand Down
4 changes: 1 addition & 3 deletions examples/example-next-13-next-auth/next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
module.exports = {
experimental: {appDir: true}
};
module.exports = {};
4 changes: 1 addition & 3 deletions examples/example-next-13/next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
module.exports = {
experimental: {appDir: true}
};
module.exports = {};
1 change: 0 additions & 1 deletion examples/example-next-13/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"start": "next start"
},
"dependencies": {
"@next/font": "^13.1.6",
"clsx": "^1.2.1",
"next": "^13.4.0",
"next-intl": "^2.14.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/example-next-13/src/app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Inter} from '@next/font/google';
import clsx from 'clsx';
import {Inter} from 'next/font/google';
import {notFound} from 'next/navigation';
import {createTranslator, NextIntlClientProvider} from 'next-intl';
import {ReactNode} from 'react';
Expand Down
20 changes: 7 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading