title: Cannot find module 'webpack/lib/node/NodeTemplatePlugin' after I updated to nextjs@10.4
body: <p>After I updated to nextjs <code>10.1.3</code> I had an error when I launch <code>yarn dev</code>.</p>
  <pre><code>error - ./public/static/style.scss
  Error: Cannot find module 'webpack/lib/node/NodeTemplatePlugin'
  Require stack:
  - /path_to/node_modules/mini-css-extract-plugin/dist/loader.js
  - /path_to/node_modules/next/dist/compiled/webpack/bundle4.js
  - /path_to/node_modules/next/dist/compiled/webpack/webpack.js
  - /path_to/node_modules/next/dist/next-server/server/config-utils.js
  - /path_to/node_modules/next/dist/next-server/server/config.js
  - /path_to/node_modules/next/dist/next-server/server/next-server.js
  - /path_to/node_modules/next/dist/server/next.js
  - /path_to/node_modules/next/dist/server/lib/start-server.js
  - /path_to/node_modules/next/dist/cli/next-dev.js
  - /path_to/node_modules/next/dist/bin/next
  
  Could not find files for /[lang] in .next/build-manifest.json
  Could not find files for /[lang] in .next/build-manifest.json
  event - compiled successfully
  </code></pre>
  <p>I found that <a href="https://stackoverflow.com/questions/43179531/error-cannot-find-module-webpack-lib-node-nodetemplateplugin">similar issue</a> but it did not solve my problem.</p>
  <p>I removed packages and lock files, and also tried to install webpack etc <a href="https://stackoverflow.com/a/43201878/7942242">reading this</a>.</p>
  <p>Which drove me to another error about <code>tap</code> what drove me to <a href="https://stackoverflow.com/a/53677725/7942242">this</a> so I remove what I just did, so back to the first error above.</p>
  <p>Here is my <code>next.config.js</code></p>
  <pre><code>const withSass = require('@zeit/next-sass');
  const withCSS = require(&quot;@zeit/next-css&quot;);
  
  module.exports = withCSS(withSass({
      webpack(config, options) {
          config.module.rules.push({
              test: /\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/,
              use: {
                  loader: 'url-loader',
                  options: {
                      limit: 100000
                  }
              }
          });
          return config;
      }
  }));
  </code></pre>