feat: added dockerfile and now following all lower case convention for folder naming

This commit is contained in:
Dev Singh 2024-09-25 15:26:30 +05:30
parent d0e657c49d
commit c1f7b81cb6
16 changed files with 339 additions and 65 deletions

View file

@ -5,22 +5,39 @@ import { env } from "./env.mjs"
/**
* @type {import('next').NextConfig}
*/
const config = withPlugins([[withBundleAnalyzer({ enabled: env.ANALYZE })]], {
reactStrictMode: true,
logging: {
fetches: {
fullUrl: true,
const config = withPlugins(
[
[
withBundleAnalyzer({
enabled: env.ANALYZE,
}),
],
],
{
reactStrictMode: true,
logging: {
fetches: {
fullUrl: true,
},
},
},
experimental: { instrumentationHook: true },
rewrites() {
return [
{ source: "/healthz", destination: "/api/health" },
{ source: "/api/healthz", destination: "/api/health" },
{ source: "/health", destination: "/api/health" },
{ source: "/ping", destination: "/api/health" },
]
},
})
experimental: { instrumentationHook: true },
rewrites() {
return [
{ source: "/healthz", destination: "/api/health" },
{ source: "/api/healthz", destination: "/api/health" },
{ source: "/health", destination: "/api/health" },
{ source: "/ping", destination: "/api/health" },
]
},
// Add the eslint configuration here
eslint: {
// Warning: This allows production builds to successfully complete even if
// your project has ESLint errors.
ignoreDuringBuilds: true,
},
// Add the output setting here
output: 'standalone',
}
)
export default config