added comment flor nextjs configs
This commit is contained in:
parent
c38de745c9
commit
a2b4bb1d3b
|
@ -34,6 +34,7 @@ module.exports = withSentryConfig(
|
||||||
exclude: [/manifest\.json$/i],
|
exclude: [/manifest\.json$/i],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// added to enabled shared Array buffer - https://web.dev/coop-coep/
|
||||||
headers() {
|
headers() {
|
||||||
return [
|
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 }) => {
|
webpack: (config, { isServer }) => {
|
||||||
if (!isServer) {
|
if (!isServer) {
|
||||||
config.resolve.fallback.fs = false;
|
config.resolve.fallback.fs = false;
|
||||||
|
|
Loading…
Reference in a new issue