observatoire
This commit is contained in:
parent
f414918814
commit
02bde3560f
@ -25,6 +25,16 @@ export default async function RootLayout({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<html lang="fr">
|
<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}>
|
<body className={inter.className}>
|
||||||
<Providers>
|
<Providers>
|
||||||
<LayoutWrapper
|
<LayoutWrapper
|
||||||
|
|||||||
@ -16,6 +16,11 @@ const nextConfig = {
|
|||||||
images: {
|
images: {
|
||||||
unoptimized: true,
|
unoptimized: true,
|
||||||
},
|
},
|
||||||
|
devIndicators: {
|
||||||
|
buildActivity: false,
|
||||||
|
buildActivityPosition: 'bottom-right',
|
||||||
|
autoPrerender: false,
|
||||||
|
},
|
||||||
experimental: {
|
experimental: {
|
||||||
webpackBuildWorker: true,
|
webpackBuildWorker: true,
|
||||||
parallelServerBuildTraces: true,
|
parallelServerBuildTraces: true,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user