8 lines
251 B
JavaScript
8 lines
251 B
JavaScript
import fs from "fs";
|
|
import path from "path";
|
|
import { fileURLToPath } from "url";
|
|
|
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
|
|
// We'll read the existing script and eval its MODULOS building logic, or just run it and capture...
|