init: set up Next.js project with Supabase, TailwindCSS, and ESLint configuration

This commit is contained in:
Greg 2025-05-18 16:25:22 +02:00
parent 9d0debb968
commit c0af47139a
2 changed files with 23 additions and 2 deletions

20
myfavstuff/next.config.js Normal file
View File

@ -0,0 +1,20 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
// Enable output.standalone to create a standalone build
// This is recommended for deployments to containerized environments
output: 'export',
// Set to true for improved page load performance
swcMinify: true,
// Configure images if using them from external domains
images: {
unoptimized: true, // For static export
domains: [],
},
// Add any other configurations needed
reactStrictMode: true,
};
module.exports = nextConfig;

View File

@ -18,7 +18,8 @@
},
"devDependencies": {
"@eslint/eslintrc": "^3",
"eslint": "^9",
"eslint-config-next": "15.3.2"
"eslint": "^9.0.0",
"eslint-config-next": "15.3.2",
"eslint-plugin-react": "^7.33.2"
}
}