Ver Fonte

webpack config not requried for hot reload in next@11

Abhinav-grd há 3 anos atrás
pai
commit
033476966e
1 ficheiros alterados com 0 adições e 5 exclusões
  1. 0 5
      next.config.js

+ 0 - 5
next.config.js

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