Loading of plugs is no longer restricted to _plug

Builtin plugs are generated under Library/Std/Plugs path now.
This commit is contained in:
Zef Hemel
2025-11-07 10:43:25 +01:00
parent 3422a9fa20
commit 732c6a5589
7 changed files with 16 additions and 20 deletions
+4 -1
View File
@@ -21,7 +21,7 @@ if (import.meta.main) {
);
const plugBundlePath = "client_bundle/base_fs";
const targetDir = path.join(plugBundlePath, "_plug");
const targetDir = path.join(plugBundlePath, "Library", "Std", "Plugs");
Deno.mkdirSync(targetDir, { recursive: true });
Deno.mkdirSync("dist", { recursive: true });
@@ -29,6 +29,9 @@ if (import.meta.main) {
await copy("libraries/Library", `${plugBundlePath}/Library`, {
overwrite: true,
});
await copy("libraries/Repositories", `${plugBundlePath}/Repositories`, {
overwrite: true,
});
// Build the plugs
await compileManifests(