mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2026-01-15 12:15:02 +00:00
More options in prod
This commit is contained in:
@@ -27,7 +27,8 @@ const nextConfig = {
|
|||||||
devIndicators: false,
|
devIndicators: false,
|
||||||
output: "export",
|
output: "export",
|
||||||
productionBrowserSourceMaps: false,
|
productionBrowserSourceMaps: false,
|
||||||
reactStrictMode: true,
|
reactProductionProfiling: false,
|
||||||
|
reactStrictMode: !isProduction,
|
||||||
webpack: (config) => {
|
webpack: (config) => {
|
||||||
config.plugins.push(
|
config.plugins.push(
|
||||||
new webpack.NormalModuleReplacementPlugin(/node:/, (resource) => {
|
new webpack.NormalModuleReplacementPlugin(/node:/, (resource) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user