Something went wrong. Try again.
Mirror of https://github.com/improsocial/improAn extensible Bluesky client for web
Something went wrong. Try again.
12345678910111213import { pathToFileURL } from "node:url";import { cwd } from "node:process";
const staticBase = pathToFileURL(cwd() + "/src/");
export async function resolve(specifier, context, nextResolve) { if (specifier.startsWith("/js/")) { const url = new URL(specifier.slice(1), staticBase); return { url: url.href, shortCircuit: true }; } return nextResolve(specifier, context);}