chore: resolve linting errors & warnings
This commit is contained in:
parent
0572dd5738
commit
1012cdd3fa
11 changed files with 177 additions and 144 deletions
|
|
@ -23,6 +23,7 @@ const renderPagesToHtml = async ({
|
|||
|
||||
// Ensure that we don't cache page modules when running in dev server.
|
||||
purgeModuleAndDepsFromCache(srcPath);
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const pageSrc = require(srcPath);
|
||||
if (!("page" in pageSrc)) {
|
||||
throw new Error(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue