add: prod section at the end

This commit is contained in:
2026-03-28 14:55:38 +05:30
parent feb3911d46
commit b3c9f258de
@@ -172,3 +172,26 @@ export default async function Home() {
);
}
```
## Note for Production
If your admin component is not rendering and has a error like `Identifier 'b' has already been declared`, you will need to add these lines to your `next.config.(mjs|ts)` file:
```ts
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// ...
// for turbopack
experimental: {
turbopackMinify: false,
},
// for webpack
// webpack: (config) => {
// config.optimization.minimize = false;
// return config;
// },
};
export default nextConfig;
```