Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyrota committed Dec 24, 2020
1 parent e4125af commit 2a4e510
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion www/script/template/postparcel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ async function buildSsr(): Promise<void> {
);
}

addFileToFolder(outFolder, '_spa.html', insertSsr(template, ''));

await Promise.all([
writeFolderToDirectoryPath(outFolder, vercelPublicPath),
fs.move(templatePath, path.join(vercelPublicPath, '_spa.html')),
fs.unlink(templatePath),
]);
}

Expand Down

1 comment on commit 2a4e510

@vercel
Copy link

@vercel vercel bot commented on 2a4e510 Dec 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.