website: Fix build issues (#7999)

There are some build issues related to a new netlify base image.

https://app.netlify.com/projects/openpolicyagent/deploys/69020ac6a2fe410008c643de

Signed-off-by: Charlie Egan <charlie_egan@apple.com>
This commit is contained in:
Charlie Egan
2025-10-29 15:21:03 +00:00
committed by GitHub
parent 9a864c6398
commit 4aa4554f8e
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ const semver = require("semver");
import fs from "fs/promises";
const path = require("path");
const { loadPages } = require("./src/lib/ecosystem/loadPages");
const { loadRules } = require("./src/lib/projects/regal/loadRules");
import { loadPages } from "./src/lib/ecosystem/loadPages.js";
import { loadRules } from "./src/lib/projects/regal/loadRules.js";
const baseUrl = "/";
+1 -1
View File
@@ -2,7 +2,7 @@ import fs from "fs/promises";
import { matter } from "md-front-matter";
import path from "path";
const { glob } = require("glob");
import { glob } from "glob";
export async function loadPages(globPattern) {
const files = await glob(globPattern);
+1 -1
View File
@@ -4,7 +4,7 @@ command = "make netlify-latest"
edge_functions = "docs/functions"
[build.environment]
NODE_VERSION = "22.15.0"
NODE_VERSION = "22.16.0"
# some examples in v1/test/cases/testdata/v0/cryptox509* flag the netlify
# secret scan
SECRETS_SCAN_OMIT_PATHS = "v1/test/cases,v1/topdown/crypto_test.go"