Dep update, build fixes

This commit is contained in:
Zef Hemel
2023-04-19 10:46:20 +02:00
parent 71be0a2343
commit a28966b410
12 changed files with 19 additions and 42 deletions
+2 -1
View File
@@ -42,8 +42,9 @@ export async function bundle(
// Imports
// Imports currently only "import" dependencies at this point, importing means: assume they're preloaded so we don't need to bundle them
const plugCache = path.join(cacheDir()!, "plugos");
const plugCache = path.join(cacheDir()!, "plugos-imports");
await Deno.mkdir(plugCache, { recursive: true });
// console.log("Cache dir", plugCache);
const imports: Manifest<any>[] = [];
for (const manifestUrl of manifest.imports || []) {
// Safe file name
+1 -1
View File
@@ -1,4 +1,4 @@
import * as YAML from "https://deno.land/std/encoding/yaml.ts";
import * as YAML from "https://deno.land/std@0.184.0/yaml/mod.ts";
export function hello() {
console.log(YAML.stringify({ hello: "world" }));