init: set up Next.js project with Supabase, TailwindCSS, and ESLint configuration
This commit is contained in:
parent
9d0debb968
commit
c0af47139a
20
myfavstuff/next.config.js
Normal file
20
myfavstuff/next.config.js
Normal 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;
|
||||||
@ -18,7 +18,8 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/eslintrc": "^3",
|
"@eslint/eslintrc": "^3",
|
||||||
"eslint": "^9",
|
"eslint": "^9.0.0",
|
||||||
"eslint-config-next": "15.3.2"
|
"eslint-config-next": "15.3.2",
|
||||||
|
"eslint-plugin-react": "^7.33.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user