chore: update min supported node version to >=18 (#19)

Update required minimum node version to >=18 in preparation for updating other dependencies that require newer node versions.
This commit is contained in:
M. George Hansen 2024-07-15 00:01:14 -07:00
parent a13295b223
commit 999b9b54a2
Signed by: mgeorgehansen
SSH key fingerprint: SHA256:JlIGiQLPyQ2RHTH3a2oVlb20Xkh9Glr8DUF4YTXHJxM
9 changed files with 2712 additions and 1745 deletions

View file

@ -34,9 +34,7 @@ const renderPagesToHtml = async ({
try {
compiledHtml = renderPage(pageSrc.page());
} catch (error) {
throw new Error(
`failed to compile ${srcPath}: ${error.stack ?? error}`,
);
throw new Error(`failed to compile ${srcPath}: ${error}`);
}
const relPath = path.relative(pagesDir, path.dirname(srcPath));
let baseName = path.basename(srcPath, ".tsx");