observatoire
This commit is contained in:
parent
f414918814
commit
02bde3560f
@ -25,6 +25,16 @@ export default async function RootLayout({
|
||||
|
||||
return (
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<script dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
// Disable React DevTools in production
|
||||
if (typeof window !== 'undefined' && typeof window.__REACT_DEVTOOLS_GLOBAL_HOOK__ === 'object') {
|
||||
window.__REACT_DEVTOOLS_GLOBAL_HOOK__.inject = function() {};
|
||||
}
|
||||
`
|
||||
}} />
|
||||
</head>
|
||||
<body className={inter.className}>
|
||||
<Providers>
|
||||
<LayoutWrapper
|
||||
|
||||
@ -16,6 +16,11 @@ const nextConfig = {
|
||||
images: {
|
||||
unoptimized: true,
|
||||
},
|
||||
devIndicators: {
|
||||
buildActivity: false,
|
||||
buildActivityPosition: 'bottom-right',
|
||||
autoPrerender: false,
|
||||
},
|
||||
experimental: {
|
||||
webpackBuildWorker: true,
|
||||
parallelServerBuildTraces: true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user