diff --git a/deno.json b/deno.json index 3a96ad8..9f5a0c2 100644 --- a/deno.json +++ b/deno.json @@ -12,7 +12,8 @@ "tasks": { "install": "deno install -f -A --unstable --no-lock -n eno server.tsx", - "run": "deno run -A --unstable --no-lock server.tsx 4507", - "complete": "deno task run & cd example && pwd && deno task dev" + "run": "deno run -A --unstable --no-lock server.tsx", + "host": "deno run -A --unstable https://deno.land/std@0.181.0/http/file_server.ts", + "complete": "deno task host & cd example && pwd && deno task dev" } } \ No newline at end of file diff --git a/server.tsx b/server.tsx index d5a1496..5f73a2f 100644 --- a/server.tsx +++ b/server.tsx @@ -116,6 +116,15 @@ try console.log(`"imports" configuration does not alias an entry-point component with "@eno/app"`); } + const importIso = ImportObject.imports["@eno/iso"]; + if(importIso) + { + ImportObject.imports["@eno/iso"] = `./${LibPath}/iso.tsx`; + } + else + { + + } } else {