Parcourir la source

webpack config not requried for hot reload in next@11

Abhinav-grd il y a 3 ans
Parent
commit
033476966e
1 fichiers modifiés avec 0 ajouts et 5 suppressions
  1. 0 5
      next.config.js

+ 0 - 5
next.config.js

@@ -33,11 +33,6 @@ module.exports = withSentryConfig(
                 swSrc: 'src/serviceWorker.js',
                 exclude: [/manifest\.json$/i],
             },
-            webpack: (config) => {
-                config.output.hotUpdateMainFilename =
-                    'static/webpack/[fullhash].[runtime].hot-update.json';
-                return config;
-            },
 
             headers() {
                 return [