From a2b4bb1d3b1c9bb17e0e53cbcca62130ce178c14 Mon Sep 17 00:00:00 2001 From: Abhinav-grd Date: Tue, 7 Sep 2021 17:21:49 +0530 Subject: [PATCH] added comment flor nextjs configs --- next.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/next.config.js b/next.config.js index 4273d7197..8b076d432 100644 --- a/next.config.js +++ b/next.config.js @@ -34,6 +34,7 @@ module.exports = withSentryConfig( exclude: [/manifest\.json$/i], }, + // added to enabled shared Array buffer - https://web.dev/coop-coep/ headers() { return [ { @@ -43,6 +44,7 @@ module.exports = withSentryConfig( }, ]; }, + // https://dev.to/marcinwosinek/how-to-add-resolve-fallback-to-webpack-5-in-nextjs-10-i6j webpack: (config, { isServer }) => { if (!isServer) { config.resolve.fallback.fs = false;