Next.js Discord

Discord Forum

Builds have different build hashes on multiple servers

Unanswered
Selkirk Rex posted this in #help-forum
Open in Discord
Selkirk RexOP
example
├ chunks/framework-839af705687712fa.js 45.5 kB
├ chunks/main-c2214224ba8b7d27.js 34.8 kB
├ chunks/pages/_app-dfbcbe5b34884a0d.js 194 kB
├ chunks/webpack-ddb84dc5ad245692.js 3.06 kB
└ css/32d8ae7a59463bf5.css 17.6 kB

and another servers has
├ chunks/framework-839af705687712fa.js 45.5 kB
├ chunks/main-c2214224ba8b7d27.js 34.8 kB
├ chunks/pages/_app-dfbcbe5b34884a0d.js 194 kB
├ chunks/webpack-407a4da08a475729.js 3.06 kB
└ css/1e1b304b18e473f6.css 17.6 kB

the last two files has different hashes.
how to solve this?

7 Replies

Selkirk RexOP
yes I've problems with that because I host static files on cdn and use assetPrefix in config.
it generate same hash for same server but different hashes with different servers
@Selkirk Rex yes I've problems with that because I host static files on cdn and use assetPrefix in config.
Masai Lion
as far as I know you can't change them