migrated to nextjs 13 app dir

This commit is contained in:
Ren Amamiya
2023-04-15 09:06:29 +07:00
parent da38ced72c
commit d59cc041d5
56 changed files with 617 additions and 807 deletions

View File

@@ -3,6 +3,7 @@
*/
const nextConfig = {
output: 'export',
reactStrictMode: false,
swcMinify: true,
images: {
@@ -11,6 +12,10 @@ const nextConfig = {
typescript: {
ignoreBuildErrors: true,
},
experimental: {
appDir: true,
scrollRestoration: true,
},
webpack: (config) => {
config.experiments = { ...config.experiments, topLevelAwait: true };
return config;