Skip to content

Commit

Permalink
Update preexport.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gorgeousvlad authored Jan 26, 2024
1 parent 3e115f1 commit 811806c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/preexport.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const SHA_FUNC = 'sha384';

const assetsManifest = JSON.parse(readFileSync(ASSETS_MANIFEST_PART).toString());

// Next.js patches some script files (like '_ssgManifest.js') after build, so need to run script like this to recalculate pathced file hashes and replace it in html files
// Next.js patches some script files (like '_ssgManifest.js') after build, so need to run script like this to recalculate patched file hashes and replace it in html files
function main() {
const replacementPairs = POSTBUILD_PATCHED_FILES.map(getReplacementPair).filter(Boolean);

Expand Down

0 comments on commit 811806c

Please sign in to comment.