diff --git a/packages/login/next.config.js b/packages/login/next.config.js index d909856a7d..39413cd919 100644 --- a/packages/login/next.config.js +++ b/packages/login/next.config.js @@ -109,6 +109,12 @@ module.exports = { // Modify the file loader rule to ignore *.svg, since we have it handled now. fileLoaderRule.exclude = /\.svg$/i; + if (config?.output?.filename) + config.output.filename = config.output.filename?.replace( + "[chunkhash]", + `[contenthash]`, + ); + return config; }, ...nextConfig,