perfomance issues fixed
This commit is contained in:
parent
543c26d3e9
commit
7d9f00a43e
@ -7,8 +7,10 @@ const nextConfig = {
|
||||
},
|
||||
swcMinify: true, // explicit SWC minify
|
||||
experimental: {
|
||||
forceSwcTransforms: true // use SWC only
|
||||
}
|
||||
forceSwcTransforms: true, // use SWC only
|
||||
modern: true, // ✅ enable modern build (ES6+ for modern browsers)
|
||||
polyfillsOptimization: true // ✅ remove unnecessary polyfills
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
|
||||
@ -33,5 +33,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"sitemap": "^8.0.0"
|
||||
}
|
||||
},
|
||||
"browserslist": [
|
||||
"last 2 Chrome versions",
|
||||
"last 2 Firefox versions",
|
||||
"last 2 Safari versions",
|
||||
"last 2 Edge versions"
|
||||
]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user