diff --git a/app/next.config.js b/app/next.config.js index 59dd6bc3..4d65b9eb 100644 --- a/app/next.config.js +++ b/app/next.config.js @@ -1,4 +1,4 @@ -const path = require('path') +const path = require('path'); module.exports = { reactStrictMode: true, @@ -6,16 +6,22 @@ module.exports = { sassOptions: { includePaths: [path.join(__dirname, 'styles')], }, + basePath: '/community', images: { - domains: ['global-uploads.webflow.com', 'avatars.githubusercontent.com', 'open.rocket.chat', 'media-exp1.licdn.com'] + domains: [ + 'global-uploads.webflow.com', + 'avatars.githubusercontent.com', + 'open.rocket.chat', + 'media-exp1.licdn.com', + ], }, webpack: (config, { isServer }) => { // Fixes npm packages that depend on `fs` module if (!isServer) { config.resolve.fallback = { - fs: false - } + fs: false, + }; } - return config - } -} + return config; + }, +};