serve iso correctly

this reverts the prev commits woes
This commit is contained in:
Seth Trowbridge 2023-04-05 21:05:22 -04:00
parent 5d06bc99d1
commit a36cdc13c0
2 changed files with 12 additions and 2 deletions

View File

@ -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"
}
}

View File

@ -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
{