chore: ajout de next.config
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
/** @type {import('next').NextConfig} */
|
||||||
|
const nextConfig = {
|
||||||
|
experimental: {
|
||||||
|
// Optimiser les imports pour réduire la mémoire
|
||||||
|
optimizePackageImports: ['@mui/material', '@mui/icons-material', '@emotion/react', '@emotion/styled'],
|
||||||
|
},
|
||||||
|
// Réduire l'utilisation mémoire
|
||||||
|
compress: true,
|
||||||
|
// Désactiver les source maps en dev pour économiser la mémoire
|
||||||
|
productionBrowserSourceMaps: false,
|
||||||
|
}
|
||||||
|
|
||||||
|
module.exports = nextConfig
|
||||||
Reference in New Issue
Block a user