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:
parent
a13295b223
commit
999b9b54a2
9 changed files with 2712 additions and 1745 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue