Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/improsocial/impro
An extensible Bluesky client for web impro.social
Something went wrong. Try again.
JavaScript
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);}