WebPack buildId
Unanswered
Mr.Hack posted this in #help-forum
Mr.HackOP
Hey folks, I'm facing a problem with building a Next.js app with Webpack. I'm setting a static buildId because I need to build the application multiple times for deployment in a cluster. Every page in the
build-manifest.json has the same id, except for Webpack, which is different across builds. Do you have any idea how to achieve the same buildId for Webpack as well? Thank you!const config = {
generateBuildId: process.env.GIT_HASH
? async () => {
return process.env.GIT_HASH;
}
: undefined,
};1 Reply
Mr.HackOP
bump