Optimize next.config.ts with SWC minification and React strict mode
This commit is contained in:
1 parent
94b0b65ca0
commit
3cc201a0ce
1 file changed
+3
-1
+3
-1
@@ -11,7 +11,9 @@ const getGitCommit = () => {
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
deploymentId: process.env.NEXT_DEPLOYMENT_ID?.trim() || getGitCommit(),
|
||||
serverExternalPackages: ["lzma"],
|
||||
swcMinify: true,
|
||||
reactStrictMode: true,
|
||||
serverExternalPackages: ["lzma", "sharp"],
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Reference in new issue
Block a user