Revert "fix: application des recommandations linter es pour générer un build de prod"

This reverts commit d1aa8b54fb.
This commit is contained in:
Luc SORIGNET
2025-02-15 13:41:06 +01:00
parent a571d80482
commit d9655772b4
23 changed files with 92 additions and 132 deletions

View File

@ -5,31 +5,12 @@ const withNextIntl = createNextIntlPlugin();
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
webpack: (config, { isServer }) => {
// Configuration pour améliorer le hot reload dans Docker
config.watchOptions = {
poll: 1000,
aggregateTimeout: 300,
}
return config
},
experimental: {
instrumentationHook: true,
},
env: {
NEXT_PUBLIC_APP_VERSION: pkg.version,
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'i.pravatar.cc',
port: '',
pathname: '/**',
},
],
},
};
export default withNextIntl(nextConfig);