From 40d6d6c51307fbf133200855bd1865d7cd2dd976 Mon Sep 17 00:00:00 2001 From: "Kalle (Sendou)" <38327916+Sendouc@users.noreply.github.com> Date: Fri, 2 Apr 2021 11:51:11 +0300 Subject: [PATCH] switch to webpack5 --- next.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.js b/next.config.js index 30bfcab0e..76193eabd 100644 --- a/next.config.js +++ b/next.config.js @@ -5,6 +5,9 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({ module.exports = withBundleAnalyzer( withImages({ + future: { + webpack5: true, + }, async redirects() { return [ {