add comment for disable webpack5

This commit is contained in:
c9s 2021-10-07 16:53:46 +08:00
parent 72109a21b1
commit d9aa13703e

View File

@ -5,6 +5,7 @@ const withTM = require('next-transpile-modules')
])
module.exports = withTM({
// disable webpack 5 to make it compatible with the following rules
webpack5: false,
webpack: (config, options) => {
config.module.rules.push({