Now I see my edge function listed in the build logs but still don't see it under the "Functions" tab
Now I see my edge function listed in the build logs but still don't see it under the "Functions" tab.
23:52:33.020 ⚡️ Edge Function Routes (1)
23:52:33.020 ⚡️ - /api/api@cloudflare/next-on-pages. In the build tool, we don't support the functions directory. This is because we generate our own worker at the end which is used to power your site instead. You won't see a list of routes in the Functions tab.functions/[[path]].js code it generates, AuthJS has:process reference causes the following error during deployment:Error: Failed to publish your Function. Got error: Uncaught ReferenceError: process is not definedprocess.envoidc-client-ts and am having problems with importing the actual typesimport type {OidcClientSettings} from 'oidc-client-ts'; looking at how they build and export thingsCannot find module 'oidc-client-ts'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?_middleware.ts, I'm running this: 

env.ASSETS.fetch return a 404 status code if the requested page is missing?ctx.next()functions/[[path]].jsprocessError: Failed to publish your Function. Got error: Uncaught ReferenceError: process is not definedoidc-client-tsCompiling worker to "/var/folders/kr/x026klkx43s4nscrbnb8m0g00000gn/T/functionsWorker-0.7333432776624138.mjs"...
✘ [ERROR] 1 error(s) and 0 warning(s) when compiling Worker.
✘ [ERROR] No matching export in "../node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js" for import "OidcClientSettings"
login.ts:2:21:
2 │ import { OidcClient, OidcClientSettings } from "oidc-client-ts";
╵ ~~~~~~~~~~~~~~~~~~
✘ [ERROR] Build failed with 1 error:
login.ts:2:21: ERROR: No matching export in
"../node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js" for import "OidcClientSettings"import type {OidcClientSettings} from 'oidc-client-ts';Cannot find module 'oidc-client-ts'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?_middleware.tsCompiling worker to "/tmp/functionsWorker-0.13974737188549957.mjs"...
▲ [WARNING] No routes found when building Functions directory: ./functions - skippingnpx wrangler pages --proxy 3333 dev --local -- gatsby developctx.next()function SolidAuth(config) {
const { prefix = "/api/auth", ...authOptions } = config;
authOptions.secret ??= process.env.AUTH_SECRET;
...async function pageview(request: Request) {
let ip = request.headers.get("cf-connecting-ip");
let useragent = request.headers.get("user-agent");
let referrer = request.headers.get("referer");
let url = request.url;
let body = {
"events": [
{
"client": {
"__zarazTrack": "Pageview",
},
"system": {
"device": {
"ip": ip,
"user-agent": useragent,
},
"page": {
"url": url,
"referrer": referrer
},
},
},
]
};
return fetch(new URL("<zaraz endpoint>", url), {
method: "POST",
body: JSON.stringify(body),
});
}method="POST" action="/api/submit.js"