diff --git a/next.config.js b/next.config.js index 3f20aab1..cd4b9108 100644 --- a/next.config.js +++ b/next.config.js @@ -6,7 +6,6 @@ const withBundleAnalyzer = require("@next/bundle-analyzer"); const { i18n } = require("./next-i18next.config"); const rewritesAndRedirectsJson = require("./rewrites-redirects.json"); const { builder } = require("@builder.io/sdk"); -const path = require("path"); const securityHeaders = [ { @@ -113,12 +112,6 @@ const moduleExports = () => { ); imageLoaderRule.exclude = /\.inline\.svg$/; - // Alias configuration - config.resolve.alias = { - ...config.resolve.alias, - react: path.resolve(__dirname, "node_modules/react"), - }; - return config; },