1
0
mirror of https://github.com/dzeiocom/libs.git synced 2025-07-29 08:19:51 +00:00

Updated config files

Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net>
This commit is contained in:
2021-07-16 16:28:07 +02:00
parent 878ee09889
commit 8781a3f0f5
3 changed files with 111 additions and 18 deletions

View File

@ -12,6 +12,10 @@ export const config = (additionnalHost: string): typeof defaultConfig & NextConf
plugins: true,
profiling: process.env.NODE_ENV === 'developpment',
sprFlushToDisk: true,
// Bugged
// https://github.com/vercel/next.js/issues/18913
// reactRoot: true,
workerThreads: true,
pageEnv: true,
@ -21,22 +25,23 @@ export const config = (additionnalHost: string): typeof defaultConfig & NextConf
scrollRestoration: true,
stats: process.env.NODE_ENV === 'developpment',
gzipSize: process.env.NODE_ENV === 'developpment',
externalDir: true,
conformance: true,
disableOptimizedLoading: false,
gzipSize: process.env.NODE_ENV === 'developpment',
craCompat: false,
// Bugged
// https://github.com/vercel/next.js/issues/18913
// reactRoot: true,
},
excludeDefaultMomentLocales: true,
trailingSlash: false,
cleanDistDir: true,
generateEtags: true,
compress: false,
// Non experimental config
// target: 'serverless',
cleanDistDir: true,
trailingSlash: false,
excludeDefaultMomentLocales: true,
poweredByHeader: false,
reactStrictMode: true,
@ -122,4 +127,4 @@ export const plugins = [preCSS, {
localIdentName: "[path][name]__[local]"
}
}
}]
}]