import Pathname from "../misc/pathname.js";
import fs from "./fs.js";

self.Pathname = Pathname;
self.fs = fs;

import Pathname from "../../misc/pathname.js";
import fs from "./fs.js";

self.Pathname = Pathname;
self.fs = fs;

Update main.js