diff --git a/next.config.js b/next.config.js
index ec8954c10..0f55a31f1 100644
--- a/next.config.js
+++ b/next.config.js
@@ -12,6 +12,9 @@ const isSwell = provider === 'swell'
 const isVendure = provider === 'vendure'
 
 module.exports = withCommerceConfig({
+  future: {
+    webpack5: true,
+  },
   commerce,
   i18n: {
     locales: ['en-US', 'es'],