浏览代码

webpack config not requried for hot reload in next@11

Abhinav-grd 3 年之前
父节点
当前提交
033476966e
共有 1 个文件被更改,包括 0 次插入5 次删除
  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 [